Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.
how can i build my c program which includes a few of my own header files without going back and compiling all of my header files seperately...... thanks
everytime i restart the main program i have to recompile each header file individually. is there anyway i can compile my main file without having to go back and compiling all the header files.
This sounds like an issue with your development environment. You shoudn't have to compile the .h files. They should get compiled as though they were inserted into file they are included in.
If there's actual code in those file, make them into libraries, or simply put them in a different source file and reference them, leave only defines inside the header files.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.