Dear Gurus!
 
I have a problem and I didn't found any answer in the archives so I try to ask to you. I'm a beginner in the linux world but I like to develop an application. I already work with C/C++ language under windows platform. My problem is follow:
 
If I wrote a program with line
  #define DEFINE_NAME DEFINE_VALUE
the gcc compiler was compiled it. But if I like to use classes and I use the g++ or c++ compiler, this line will not precompiled and this line
  if (variable != DEFINE_VALUE)
will drop an error message in the compillation process.
 
Could I use any precompiler or the compiler have any swith for solve this problem?
 
Thank you and I beg your pardon for the lamer question :)
 
Imre Darics

Reply via email to