|
-
August 10th, 2010, 08:49 AM
#3
Re: Working with multiple cpp and h files
Hi cilu,
Thanks for your reply. That makes sense to me I think. So if I have all my common functions declared in functions.h and defined and implemented in functions.cpp, can I just use #include "functions.h" in my program.cpp file? Will the functions.h file know to look in the functions.cpp file automatically to find the functions because they have the same name? I'm just using gedit to write up the source files.
Thanks
Aonghas
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|