#ifndef __Main_Log
#define __Main_Log
namespace OUT {
bool initiated; //true if its ready, false otherwise
void init(); //must be called before logging is to occur
void log(std::string); //basic out
void warn(std::string); //more serious out
void crit(std::string); //something that would cause the program to fail if it's not fixed...out
bool checkFileExistance(std::string); //true if it does, false otherwise
}
#endif
I plan to call OUT::init() from another file. I have my calling methods working, but when I attempt to compile this, I get:
Main_Log.cpp: In function ‘void OUT::init()’:
Main_Log.cpp:11:34: error: ‘checkFileExistance’ was not declared in this scope