Search Results

Search: Posts Made By: drouzzin
Forum: Programming 11-28-2011
18,078
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
18,078
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

 
All times are GMT -4. The time now is 05:13 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy