I have compile a program, below is a part of the code: typedef enum{false,true}boolean; But after compile it give me the following error expected identifier before "false" expected "}" before "false" expected unqualified-id before "false" expected ',' or ';' before "false" expected declaration before "}" token. I'm using the Dev-C++ to compile Can anybody help me.Thank You
typedef enum{false,true}boolean; means you are assigning value 0 to the false and 1 to true but it might so happen that its predefined for the compiler.
Then how do I fix it? Thank You I attached together with the code. If possible could you fix it and make an execute program to me Thank You
Just try replacing it with typedef enum{_false_,_true_}_boolean_; and see if it compiles or there are some more errors somewhere else.
I use VC++ compiler and it does not support lots of functions. like clrscr,gotoxy but after removing them and replacing the boolean with the necessary code I succesfully compiled it.
Could you make an exe. file and send the code together to me.Thank You My e-mail: lieweffect@yahoo.com
GMail does not allow me to upload exe files and I have renamed it to g4e file. Please rename it to exe file.
After I renamed it run the program, I can only see the word "SCHOOL OF COMPUTING" and cannot do anything
Thats because probably I have removed the clrscr and gotoxy. You probably need the bloodshed compiler to compile the program.
Thank You.The program can run now. Could you send the source code to me and tell me which compiler you use. I need to modify the password and something. Thank You
I use turboC3 to compile there still have error. Sorry for disturb you again Can you please help me to compile with this one Thank You