HELP! Im geting an error when i try to compile my source code.
Here is the error: E:\VirusGL\Virus\main.cpp|3|error: 'Echelon' does not name a type|
Source code:
1 2 3 4 5 6 7 8 9 10 11 12 13
#ifndef ECHELON_H
#define ECHELON_H
class Echelon
{
public:
Echelon();
~Echelon();
void Initialize(int width, int height, int colorDepth, char title, bool fullscreen);
private:
}
#endif
...it might help if you did.
Add #include "<filename>" (replace <filename> with the name of the file that has the Echelon definitions) at the top of main.cpp (or whatever file has the main() function).