LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   flex in linux (https://www.linuxquestions.org/questions/linux-newbie-8/flex-in-linux-610896/)

sarmast 01-03-2008 01:31 PM

flex in linux
 
I am a newbie,i want to khonw how i can make c++ file from lex file,i know that we have this in windows,i mean that when i write my programme in lex in pargen( -pargen is a parser generator-in windows),pargen makes its .cpp file itself,is it possible in linux? can flex make .cpp file for my lex programme? wich command shoud i use?

theNbomr 01-04-2008 11:36 AM

If you read the man page, you will see:
Code:

  Generated code:
      -+,  --c++
              generate C++ scanner class

There are lots of helpful things in the man page. Recommended reading.
--- rod.


All times are GMT -5. The time now is 07:09 PM.