Hi all! Please give c code which finds the included header files of another c file
sankhamita
0
Newbie Poster
Recommended Answers
Jump to PostYour program has at least a few problems
>>void main()It's int main(), even though ancient compilers such as Turbo C allow it.
>>while(!feof(fp))
eof() doesn't work like that and will cause that loop to execute too many times.>>strstr
If you are …
Jump to PostAlso the OP wants to know the names of the header files not the count .....
If the objective of OP is to prevent including the same header file many times then check out
All 7 Replies
srinivasan106
0
Newbie Poster
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
abhimanipal
91
Master Poster
srinivasan106
0
Newbie Poster
srinivasan106
0
Newbie Poster
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
Adak
419
Nearly a Posting Virtuoso
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.