User forums > Using Code::Blocks
Lost functions in external header files
spartarra:
Errors have changed.
Now looks like the .c is linked with the .h files (so the previous error of not finding .h is over), but when the .h want to comunicate with each other the don't see each other.
MortenMacFly:
--- Quote from: spartarra on November 27, 2008, 03:02:41 pm ---Now looks like the .c is linked with the .h files
[...]
but when the .h want to comunicate with each other the don't see each other.
--- End quote ---
Oh well... Header files are not linked and they do not communicate with each other. What is actually your problem? I don't understand a single word from what you say. Probably you don't understand the functionality of a compiler/linker and/or include file/library?
If so, than (sorry for that) but this is extremely out of scope of this forum. We discuss here about Code::Blocks, not general programming. Please rephrase what issues you have with Code::Blocks.
spartarra:
How do you say to Code::Blocks: Find all the needed functions in the header files (this ones have been indicated by the Project - Build options... - Search directories).
Thanks in advance.
PS: If you feel that this is not a doubt of Code::Block don't answer the post; I'll try to find the answer in another place.
Jenna:
In most cases there are no functions inside header-files, only declarations of them.
Splitting declarations and implementations is widely used in many programming languages.
If you don't know the difference, you should read a good C/C++ tutorial.
And if there will still be problems ( :!: that are really related to C::B and not to your lack of knowledge of basic programming :!: ) feel free to ask again.
Navigation
[0] Message Index
[*] Previous page
Go to full version