i get so may errors its sad. heres my most recent one. It says a file dosent exist that I am looking at. Its typed the same and everything. The file is "debug.h" heres debug.h
enum de{HIGH=6, AVERAGE=5, MEDIUM=4, LOW=3, MINIMUM=2, ON=1, OFF=0};//levels of debug
enum error_code{INCORRECT_ENTRY=100, UNEXPECTED_ENTRY, MEMORY_LEAK,
FILE_NOT_LOADING, FILE_NOT_FOUND, IMAGE_MISSING,
AUDIO_MISSING, OBJECT_MISSING, OUT_OF_SCOPE, DEBUG_OFF};//all error codes
#define DEBUG OFF
//class
class C_debug
{
public:
int control();//controls debugger
private:
int check_debug_state();//returns if debug is on
int return_last_error();//the last error sent to system
int debug_status();//saves file with error code and debug status
protected:
};
and heres debug.cpp
#include "debug.h"
#include "DarkGDK.h"
int C_debug::control()//controller for debug
{
if(!check_debug_state())//if debugger is off
{
}
else//if debugger is on
{
}
}
int C_debug::check_debug_state()//checks the state of debug
{
return DEBUG;
}
int C_debug::debug_status()//saves debug state
{
}
the error is one line 1, it cannot include it. whats going on...
Your signature has been erased by a mod - please reduce it to 600x120