Created
November 17, 2009 03:19
-
-
Save silasb/236608 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Tokenizer { | |
public: | |
Tokenizer(); | |
}; | |
// inside Program.h | |
class Program { | |
public: | |
Program(); | |
ParseProg() { // need to access tokenizer object in here. }; | |
}; | |
void main() { | |
Tokenizer tokenizer; | |
Program program; | |
program.ParseProg(); | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment