This topic is now archived and is closed to further replies.

Confusing error

This topic is 5747 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I am making a text-rpg. I have got rid of all the errors except one, which confuses me: C:\Program Files\Microsoft Visual Studio\MyProjects\DragonWarrior\Main.cpp(126) : error C2059: syntax error : ''='' Error executing cl.exe. it says it is on line 126, this is line 126
while( PorkHer !== ''Y'' || PorkHer !== ''y'' || PorkHer !== ''N'' || PorkHer !== ''n'')  
I can''t see what is wrong with it, there is no ''='' hmm.. anyone help me (Yes this part of the game involves a hooker.) if it''s needed I can post the whole GoTown() function,

Share this post

Link to post
Share on other sites