I am very new to C programming and I'm working on running through a very simple program to get the general idea. I'm using MPLAB IDE with Hi-Tech C compiler for 12/14/16MCUs.
The book I'm using specifies 2 file types that I can't seem to find, which I'm supposed to add to the project window. The first is a .h file, which is a header file. I have all the .inc files, but I don't seem to have any .h files. Are they the same thing? Instead of using #include <16fxxx.h> can I use #include <16fxxx.inc>?
The second file type is some kind of "linker script" which is a .gld file. I don't have any .gld files either, and in fact, in the project window, I don't even have a folder to add a linker file to. It only has: Source files, Header files, Object files, library files, and other files.
Can someone shed some light on these? Thanks!
The book I'm using specifies 2 file types that I can't seem to find, which I'm supposed to add to the project window. The first is a .h file, which is a header file. I have all the .inc files, but I don't seem to have any .h files. Are they the same thing? Instead of using #include <16fxxx.h> can I use #include <16fxxx.inc>?
The second file type is some kind of "linker script" which is a .gld file. I don't have any .gld files either, and in fact, in the project window, I don't even have a folder to add a linker file to. It only has: Source files, Header files, Object files, library files, and other files.
Can someone shed some light on these? Thanks!