By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
428,601 Members | 989 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 428,601 IT Pros & Developers. It's quick & easy.

syntax error :'=' and fatal error, trying to do a 'for' loop

P: 1
every time i run this in vs2010, is writes "syntax error :'='" and fatal error, what is my mistake?
if(a*a+b*b==c*c||a*a+c*c==b*b||b*b+c*c*==a*a)
d=5;
Oct 16 '17 #1
Share this Question
Share on Google+
1 Reply


Expert 100+
P: 2,398
What are the types of variables a, b, and c?
(I want to make sure they aren't pointers.)

The title of your post refers to a for loop. How is that involved here?
Oct 16 '17 #2

Post your reply

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