class CChaine { public: void Enchainer(int); unsigned int Lire(int); }; //a travailler, c'etait juste pour l'exemple. #include #define NBINST 10 #define MAXCAR 30 typedef struct { char chaine[MAXCAR]; void *verSyntaxe; void *traducteur; }Commande; class indexMots : public CChaine { public: unsigned long i; }; class Parser { public: char *source; unsigned long lenSource; protected: private: Commande liste[NBINST]; unsigned long nbLignes; unsigned short nbVar, nbFonc; indexMots index; public: void main(void); Parser(void); ~Parser(void); protected: private: }; void Parser::main(void) { char *mot=0; unsigned long cpt, ligne, debutMot=0, tmp; index.Enchainer(0); for(cpt=0;cpt