But what is the version of the compiler? If there is a compiler issue, no one cares what version of Dev C++ is that you're using. Only the compiler that Dev-C++ uses to compile your code is all that matters.
August 23rd, 2013, 03:24 PM
Re: portable code
Originally Posted by Paul McKenzie
First remember that Dev-C++ is not the compiler. The compiler is gcc.
Second, in C++ you won't be able to use any functions if the functions are not declared. You can't compile any C++ module if you call a function that isn't previously declared, or if not declared, the entire function body exists before the call. Those are the rules of C++.
If you want proof, try to compile this simple program:
double x = sqrt(4.0);
This will also not compile, since sqrt() isn't declared.
thinking on compiler: for i add resource files, dll's and others to exe:
1 st - compile the resource file, sources files;
2 nd - then i link all files(the obeject file, the new resouce file, dll's). and then i have the exe completed.