hey all :)
I'm making a console program, and I want to do that when you run it from the terminal, you can give arguments like -debug (./program -debug). How do i get whether an argument is set or not in the code? i've tried #ifdef debug, but it didn't work.
Btw, I'm using g++ compiler (just in case it was different from compiler to compiler)