Ok I've created a class with its respective .h and .cpp files and then I included it on a small win32/direct x game I am making....
if I do this....
Meteor *EnemyMeteor=new Meteor;
EnemyMeteor->SetX1Coordinate(100);
it doesn't work while this DOES
Meteor MeteorList;
MeteorList.SetX1Coordinate(125);
is it illegal to create a object on the heap while within a win32 application?