Skip to main content
GameDev.net gamedev.net
🔒 Locked

#include using directories

Started by dave Jan 19, 2005 at 1:40 AM 2 replies 250+ views
Original Post
dave
dave
Hi, I have a problem whereby i need to include a header from another directory. - The file doing the #include'ing is in fold A - The file that needs to be included is in folder B - Folder B is not in Folder A, rather in the same folder as Folder A. - So effectively the path has to drop out of folder A and move into folder B. Is this possible? ace
ontheheap
ontheheap
#include "../B/whatever.h" ?
dave
dave
actually that might work... ill try it.

ace
dave
dave
actually it does work, rate++ for you my son...

ace

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.