I have a problem. You see i am learning how to program in the WIN32 environment. This is going fine, but there are 2 serious problems i am having. I'll list the biggest one here: when in the IDE, and trying to include a .h file (in this case, main.h), it gives me an error "Unable to add 'main.h' to the project. The target file cannot be determined from the source files extension"
This is a completely idiotic message as far as i can tell. Since .h files are almost impossible to go without in C, especially with large programs, there should be no problem including this file. I recieved the same error when i created a new .h file (again main.h... saved over it) and it asked me if i wanted to add it to the project.
Now, the second strange thing about this complete and utter lack of support for header files in my installation of Pelles C, is that when opening a file, there is no "header files (*.h)" option in the file type selection, i must choose "all files (*.*)" and select the file from there.
Third, and final odd thing. After i add the include file directory containing my header files (yup... it actually had that list of directories. Surprizing with these other problems), and include my include file (containing standard call functions for such functions as FindEqualint(int[], equal) that finds an equal integer within an array, and CustomRNG(seed) which i use for a custom random number generator (i like to call them RNGs - look at the function name). After i include the file (And that works fine), i try to compile the program, and it gives me an error regarding the use of the functions contained within main.h
Any ideas why i might be having these problems?