class game
{
public:
int genre = 0;
int graphics = 0;
int story = 0;
int GUI = 0;
int originality = 0;
int requirements = 0;
};
But when I compile it, the debugger gives me all sorts of junk about "error C2864: 'game::genre' : only static const integral data members can be initialized within a class." It gives that same error for all the ints I declared in that class. This code is in the header file, and I'm using Microsoft's Visual C++ Express, if that makes any difference. Any ideas?













