How To Create My Own Header File?
I have to define a macro for which i have to create my own header files to include these files further in my programs.
I have to define a macro for which i have to create my own header files to include these files further in my programs.
Can't find what you're looking for?
Ask a Question, Get an Answer ASAP
From a previous post:
This depends on your compiler and development environment. The c++ compiler from Microsoft allows the inclusion of pre-compiled headers (/YX compiler option). I am not sure about others. For more info check out:
---} Automatic Use of Precompiled Headers {---
answered 6 months ago
First of all you have to create interface file then generate implementation file and after creating these two files you have to use gcc -c on implementation file so that to generate .o files and then put the lib file in /user/lib folder. Then put the header in include directory.
answered 6 months ago
Ask questions on any topic, get great answers from real people for FREE. Blurtit has hundreds of thousand of members so your sure to get the answer your looking for.