Computer Science Canada wow i cant find this mistake in these 6 lines of code |
Author: | unholymight [ Thu Nov 15, 2007 7:45 pm ] | ||||
Post subject: | wow i cant find this mistake in these 6 lines of code | ||||
microsoft visual studio 2005
1>xxx\game.cpp(529) : error C2143: syntax error : missing ';' before '.' 1>xxx\game.cpp(529) : error C2143: syntax error : missing ';' before '.' 1>xxx\game.cpp(530) : error C2143: syntax error : missing ';' before '.' 1>xxx\game.cpp(530) : error C2143: syntax error : missing ';' before '.' 1>xxx\game.cpp(531) : error C2143: syntax error : missing ';' before '.' 1>xxx\game.cpp(531) : error C2143: syntax error : missing ';' before '.' they refer to the lines starting inclusively at plane.set_angle(0.0)
thats what they call to, if you need more information i'll provide it, help me get down these bugs damn it |
Author: | Saad [ Thu Nov 15, 2007 7:58 pm ] |
Post subject: | RE:wow i cant find this mistake in these 6 lines of code |
Plane is a class, your declaring player to be an instance of player, but you use plane which should be player |
Author: | unholymight [ Thu Nov 15, 2007 8:04 pm ] |
Post subject: | Re: RE:wow i cant find this mistake in these 6 lines of code |
Saad @ Thu Nov 15, 2007 7:58 pm wrote: Plane is a class, your declaring player to be an instance of player, but you use plane which should be player
thanks a million, couldn't find that one for the life of me. |