473,388 Members | 1,390 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 software developers and data experts.

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

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
1 1604
donbock
2,426 Expert 2GB
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

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

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.