The UNIX and Linux Forums
Forum Home
Linux and Unix Man Pages
Search Forums
Search Community Posts
Today's Posts
Quick Links
Man Pages
RedHat Commands
OpenSolaris Commands
Linux Commands
SunOS Commands
FreeBSD Commands
All UNIX Man Pages
All Linux Man Pages
Full Man Repository
Login or Register to Ask a Question and Join Our Community
Search Forums
Show Threads .
Show Posts
Tag Search
Advanced Search
Quick Links
Contact Us
Forum Rules
Today's Posts
FAQ
Pictures & Albums
All Albums
Miscellaneous
What is My IP
Whois
Mark Forums Read
Search Results
Showing results 1 to 2 of 2
Search took
0.01
seconds.
Search:
Posts Made By:
drouzzin
Forum:
Programming
11-28-2011
4
"lvalue required as left operand of assignment" error in C
18,079
Posted By
JohnGraham
How are point1, point2 and randStart declared? ...
How are point1, point2 and randStart declared?
Also, as agma points out, it looks like you are confusing assignment and comparison:
// '=' assigns x the value 3
x = 3;
// '==' tests if x...
Forum:
Programming
11-27-2011
4
"lvalue required as left operand of assignment" error in C
18,079
Posted By
agama
Assuming you are wanting to initialise the...
Assuming you are wanting to initialise the variables to zero, and loop until one is equal to three:
for( point1 = 0, point2 = 0; point1 == 3 || point2 == 3; randStart++) {
Showing results 1 to 2 of 2
Member Badges and Information Modal
×