Dev C++ Compiler 4.9 9.2 Source File Not Compiled
Dec 25, 2017 this tutorial will help you to resulve the source file not compiled error wether you use dev c or code block i hope you will enjoy this video.
Dev C++ Compiler 4.9 9.2 Source File Not Compiled File
Dev C++ Compiler 4.9 9.2 Source File Not Compiled Free
My program started off fine, then after a few error (of mine) it obviously shows something wrong, but then my compiler stated complaining about things that don't exist, or at least things that shouldn't be a problem.
For example I have a class with appropriate header and source files. The header contains an #ifndef macro and the appropriate class declaration and definition with any additional macros needed for any includes that class may need. The source code has an include to the header (just in case) and the definitions for all the functions declared as part of the class in the header.
On compiling I get errors that few functions in the class have been 'used but never defined' when they have. Everything is perfect in the code but it wont compile, then remove the statement in main.cpp which includes this class and add it back again (or do something pointless similar to this which i can't quite remember) and it compiles fine.
I also have a problem that says another class is being defined repeatedly when this is also definitely not happening (but I feel like I've gone into enough detail with the first error, I don't want to rant too much)...
Does anybody else have this kind of problem in DevC++ and/or know how to fix them?
For example I have a class with appropriate header and source files. The header contains an #ifndef macro and the appropriate class declaration and definition with any additional macros needed for any includes that class may need. The source code has an include to the header (just in case) and the definitions for all the functions declared as part of the class in the header.
On compiling I get errors that few functions in the class have been 'used but never defined' when they have. Everything is perfect in the code but it wont compile, then remove the statement in main.cpp which includes this class and add it back again (or do something pointless similar to this which i can't quite remember) and it compiles fine.
I also have a problem that says another class is being defined repeatedly when this is also definitely not happening (but I feel like I've gone into enough detail with the first error, I don't want to rant too much)...
Does anybody else have this kind of problem in DevC++ and/or know how to fix them?