Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Lexem
- {
- public:
- float a;
- probaType operation;
- bool complementaire;
- public:
- Lexem();
- void addlist(std::string &str, char c, std::list<Lexem> &);
- std::list<Lexem> lexer(char *);
- };
- int main(int argc, char **argv)
- {
- Lexem lex;
- std::list<Lexem> liste = lex.lexer(argv[1]);
- std::list<Lexem>::iterator it = liste.front();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement