Quote:
Originally posted by Prelude
Also note that the // comments are C++ only unless your compiler is C99 compliant. If you don't know whether your compiler is C99, it probably isn't, so stick to /* */ comments.
Dont knw about C99, but my compiler is Dev-Cpp 4.9.8.2.... So i dont know if I sometimes put in C++ code since it wont complain... Quote:
Originally posted by Prelude
Why did you have two of the same program, the only difference being the use of color management? Conditional compilation or a command line option would probably be a better choice.
Yup i know that was a bit stupid, i was trying to make the program to compile without <conio.h> (using only C standard libraries) but then i needed it for clrscr(); and gotoxy(x,y);