I'v created a C header file (It's compiled), now when i compile my program it comes up with tons of errors like:
warning开发者_StackOverflow: null character(s) ignored error: stray ‘\23’ in program TheFunctions.h:1722: error: stray ‘\200’ in program
Inside the header file is simply two functions, which work in the normal c program.
Please help!
It sounds as though you're trying to directly include a precompiled header (a binary file). When you include files via the #include
pre-processor statement, those are text files, not compiled files.
Edit (now that we know what compiler it is): I don't know GCC's precompiled headers stuff well enough to answer this question, but here's a link discussing them for what it's worth: http://gcc.gnu.org/onlinedocs/gcc/Precompiled-Headers.html
精彩评论