dev c++ - Dev C++ to compile C source file -
How can I use Dev C ++ to compile a C source file? I thought it would do this automatically, but for some reasons it is compiled with many errors and I think that for this you have to make changes to compile the file.
Example of Examination:
This is pre-ANSI code, I'm not sure the GCC compiler supports it , And in any case there is poor practice to use it to change your function to:
double x_plus_one (double x) {x = x + 1; Return (x); } and you must declare it:
double x_plus_one (double x); You can also try compiling with the - protected flag, but I have not tested it.
Comments
Post a Comment