Hello everybody!
I would like to know "how to link header file (.h file ) and source file (.c file ) in c.
I have downloaded many .h files and .c files. I have noticed that the functions are declared in .h files and denined in .c files. I don't know how to link them in main program.
Please explain me.
thanks in advance,
Moe
Moe 0 Light Poster
Recommended Answers
Jump to PostWhat compiler are you using? If you use Microsoft Visual C++ 2005 Express, the download includes project files.
If that is your compiler, then the compiler will spew out a whole bunch of warnings about using deprecated C functions. you can disable the warning with a pragma. put this …
Jump to Postby the way, I really want to know where you are from
I am not from Japan.
Now that we know where you are NOT from, where among the 1,000 or so other nations on this earth are you from :cheesy:
Jump to Post
by the way, I really want to know where you are from. :-|Ooooh I think I know. I think moe is from
[read Phonetically]
Uranus
[/Phonetically]Was dat better than a scolding? Tee he he.
Jump to Post>> But I would like to test it in C ( not in vc).
VC is the name of a Microsoft compiler, not a computer language. It compiles both C and C++ code just like any other compiler will do. Give the file a *.c extension and the compiler …
Jump to PostWhat is Library Directories & Include Directories & Resource Directories?
Please use my downloaded linkgrammar folder, link41b as an example.Library directory: the directory (or folder) that contains library files (file with .lib extension). You need not specify the compiler's standard library path (see your compiler installation directory)
Include …
All 44 Replies
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
Moe 0 Light Poster
Moe 0 Light Poster
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
Moe 0 Light Poster
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
Moe 0 Light Poster
Moe 0 Light Poster
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
Moe 0 Light Poster
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
Moe 0 Light Poster
Moe 0 Light Poster
Moe 0 Light Poster
Moe 0 Light Poster
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
WolfPack 491 Posting Virtuoso Team Colleague
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
Moe 0 Light Poster
WolfPack 491 Posting Virtuoso Team Colleague
Moe 0 Light Poster
Moe 0 Light Poster
WolfPack 491 Posting Virtuoso Team Colleague
Moe 0 Light Poster
WolfPack 491 Posting Virtuoso Team Colleague
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
Moe 0 Light Poster
Moe 0 Light Poster

iamthwee
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.