I have something like:
#define BASE_FOLDER = "Resources" #define PREFERENCE_FILE_NAME = "AppPreferences.txt" #define SPLASH_FILE_NAME = "Splash.png" #define PREFERENCE_PATH = ".\\" + BASE_FOLDER + "\\" + PREFERENCE_FILE_NAME #define SPLASH_PATH = ".\\" + BASE_FOLDER + "\\" + SPLASH_FILE_NAME and the compiler is throwing errors where PREFERENCE_PATH is used.
expecting primary expression before = token. These all worked when I was doing
#define PREFERENCE_PATH = ".\\Resources\\AppPreferences.txt" #define SPLASH_PATH = ".\\Resources\\Splash.png" What am I doing wrong?
#define PREFERENCE_PATH = ".\\Resources\\AppPreferences.txt"This really worked?const char * path PREFERENCE_PATH;lol. I'm guessing it wasn't used.