I want to make header file for some of my function....

2014-06-14
2014-06-15
  • Hi,
    i am working on the sdcc compiler and i want to learn how to create header file for some of my function. i have written a program that has more number of functions so i want that function to put in header file and access them from it.
    so i kindly request that suggest me for resources to learn how to create header file..
    thanks you in advance..

     
  • Maarten Brock
    Maarten Brock
    2014-06-15

    Open up an editor and start writing it?
    I strongly recommend to only put extern variable declarations and function prototypes in it and no implementations.
    I think you need a good book on the C language to get you started.