I have a program that has several header files in a folder. Is there a way I can have the program automatically search through this folder whenever the particular .h is called?
timbo2000
0
Newbie Poster
Recommended Answers
Jump to PostIf you have
a.h
b.h
c.hAnd you include a.h, what exactly are you hoping to achieve with the other header(s) ?
Jump to PostPlugin A is compiled, and includes a.h
Plugin B is compiled, and includes a.h and b.hYou just (assuming gcc) have
gcc -c -I/path/to/plugin/headers plugina.c pluginb.cWhere /path/to/plugin/headers/a.h is an absolute path name.
All 6 Replies
Salem
5,138
Posting Sage
timbo2000
0
Newbie Poster
Salem
5,138
Posting Sage
timbo2000
0
Newbie Poster
Salem
5,138
Posting Sage
timbo2000
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.