Sign in to follow this  

multiple folders

This topic is 4840 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

yeah you can do stuff like the following. if your directory structure looks like this:


GameFolder
|
|-> GFX
| |
| |-> gfx.h
|
|
|-> CORE
| |
| |-> core.cpp


then core.cpp could start like this

//this includes the gfx header
#include "../GFX/gfx.h"




-me

Share this post


Link to post
Share on other sites
Quote:
Original post by Ainokea
can I just put: #include ".../GFX/gfx.h"


i put exactly what you need to put; sorry if there was confusion. the '..' part means literaly '..' not the whole path name. incedentally, it's 2 periods not 3 as you have in your previous post.

-me

Share this post


Link to post
Share on other sites

This topic is 4840 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this