I am trying to create a basic class to go with my project, and I keep getting the error "unresolved external symbol." I have no idea what is causing it.
I use VC++ 2010 express
JEngine.h
#ifndef JENGINE_H
#define JENGINE_H
#include "stdafx.h"
class JEngine
{
public:
void Initialize();
};
#endif
JEngine.cpp
#include "JEngine.h"
#include "stdafx.h"
void JEngine::Initialize()
{
}
main.cpp
#include "stdafx.h"
#include "JEngine.h"
int main(int argc, char **argv){
JEngine* gameInstance = new JEngine();
gameInstance->Initialize();
return 1;
}