Public Group

Archived

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

Confusing error

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

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 on other sites
I think you want != instead of !==.

Thanks

1. 1
2. 2
Rutin
24
3. 3
4. 4
JoeJ
16
5. 5

• 14
• 29
• 11
• 11
• 9
• Forum Statistics

• Total Topics
631773
• Total Posts
3002265
×