What the heck is wrong with this code?
I was working on this stupid code at my stupid school on stupid visual studio 6.0 and it worked FINE! I emailed the source to myself and it is giving me an error on this line of code:
Code:
Spaceship1->ForwardAngle >= Spaceship1->MaxAngle?Spaceship1->ForwardAngle += 0:Spaceship1- >ForwardAngle += -Spaceship1->TiltSpeed;
The error says:
lesson1\lesson01\Lesson1.cpp(748) : error C2059: syntax error : '>'
:( :( :( :( :( :( :(
GOD HATES ME
Re: What the heck is wrong with this code?