include other code.
Hi,
I know my question is very nob but I would know how to include file as .h, .c or .cpp in my source code.
Thank you
#include "myfile.h"
This assumes that myfile.h is in your executable directory.
This assumes that myfile.h is in your executable directory.
http://www.gamedev.net/reference/programming/features/orgfiles/ has everything you need to know.
By the way, you #include headers, but you do not #include source files.
(Yes, I am aware of the export/template issue, but this is hardly a concern to someone who is still learning the very basics.)
By the way, you #include headers, but you do not #include source files.
(Yes, I am aware of the export/template issue, but this is hardly a concern to someone who is still learning the very basics.)
Whatever you do, do not include .c and .cpp files...It could make your computer explode! But seriously, it will lead you to a boatload of headaches.
______________________________________________________________
The Phoenix shall arise from the ashes... ThunderHawk -- ¦þ
MySite
______________________________________________________________
______________________________________________________________
The Phoenix shall arise from the ashes... ThunderHawk -- ¦þ
MySite
______________________________________________________________
______________________________________________________________________________________The Phoenix shall arise from the ashes... ThunderHawk -- ¦þ"So. Any n00bs need some pointers? I have a std::vector<n00b*> right here..." - ZahlmanMySite | Forum FAQ | File Formats______________________________________________________________________________________
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement