468,458 Members | 1,739 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,458 developers. It's quick & easy.

Syntax Error? Help Plz

got a question for anyone that can help......im writin a game program for my nephew, and came across a problem, I wrote,
if((TR=='a')&&(dresser_pick=='b')) || ((TR=='a')&&(dresser_pick2=='b'))
it says i need a ; b4 the || but i no thats not rite, can anyone help, i dont think the syntax is wrong but mayb it is and jus forgettin somethin

THX, ~Andrew~
Jul 7 '06 #1
1 1128
You are simply missing one parenthesis. Replace the line with following line :

if(((TR=='a')&&(dresser_pick=='b')) || ((TR=='a')&&(dresser_pick2=='b')))
Jul 7 '06 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

1 post views Thread by Steve | last post: by
1 post views Thread by Donald Canton | last post: by
3 posts views Thread by Manuel | last post: by
1 post views Thread by Hari Sekhon | last post: by
7 posts views Thread by Josh | last post: by
Banfa
5 posts views Thread by Banfa | last post: by
reply views Thread by kmladenovski | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.