I was just compiling afx.h which i got from net. and another error pops up. Its linking error
gcc: Compilation of header file requested
gcc: file path prefix `C:\DEV-C_~1\Bin\' never used
I compile usinf mingw compiler with dev c++ ver. 4.00
I was just compiling afx.h which i got from net. and another error pops up. Its linking error
gcc: Compilation of header file requested
gcc: file path prefix `C:\DEV-C_~1\Bin\' never used
I compile usinf mingw compiler with dev c++ ver. 4.00
"If knowledge can create problems, it is not through ignorance that we can solve them. "
-Isaac Asimov(1920-1992)
It would be unusual for a header (.h) file to compile by itself. Normally a header file includes a coressponding .c file, and possibly other .h files, which themselves include their .c files.
Because afx.h is NOT part of the C++ standard library, so I doubt anybody knows what it is, what compilers work with it, or what other files / libraries are required along with it.
Here is some information from the Programming FAQ about why you generally can't use someone elses header files.
And, also from the Programming FAQ, about using multiple source files.
Last edited by DougDbug; 07-17-2003 at 01:38 PM.
You've got that backwards.Normally a header file includes a coressponding .c file, and possibly other .h files, which themselves include their .c files.
The word rap as it applies to music is the result of a peculiar phonological rule which has stripped the word of its initial voiceless velar stop.