Hi,
I have added a structure to my code. I tried initializing variables and kept getting an error citing a syntax error before '.'
Here is a code fragment...
The error points to line that reads cam.x=0;Code:struct gameObject
{
float x; //current position
float y;
float z;
};
gameObject cam;
cam.x=0;
Any clues? Do I need a specific header?
Regards,
ChuckB
