help-flex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to access class mebers ?


From: cylin
Subject: How to access class mebers ?
Date: Wed, 28 Jan 2004 11:31:28 +0800

Dear all,
 
I am a newcomer to use flex.
Please help,thanks.
 
I have a class,for example:
 
class A {
public:
    yyFlexLexer* m_poLexer;
    int age;
    char* name;
public:
    A();
    ~A();
}
 
How can I assign values to age and name
in the c++ output file generated by flex?
Or how should I write the actions in the lex file?
 
Regards,
cylin.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]