View Full Version : c++ application
mikeyredk
Nov 2, 2003, 06:54 PM
okay i don't want to make a new thread for this ill just stick in here sorry for that
i have my own include file is there a special place i need to put it? because i tried to use it and it can't find it
sageenos
Nov 2, 2003, 07:16 PM
mikeyredk
okay i don't want to make a new thread for this ill just stick in here sorry for that
i have my own include file is there a special place i need to put it? because i tried to use it and it can't find it
#include "myincludefile.h"
or in obj-c
#import "myincludefile.h"
just make sure that you have the file you want to include stored in the same directory
What you might be doing is
#include <myincludefile.h>
, which is telling the compiler to look for your file in the library, not in the local directory. By using "" you're telling the compiler to use a file in the same directory.
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.