syleox
Well-known member
- Messages
- 3,593
- Points
- 113
some time ago i learned some c++ from an android appits created when you use the line of code but its basically an automatic counter in that case between the two range of numbers.
its like doing this...
C++:int i = 0; int min = 2; int max = 4; i = min; do { // this code runs i = i + 1; while (i < max);
basically the code is called one time for each number between a range of numbers...the "i" keeps count of the current number in the loop.
one of the lessons was like :
int x = 0
int x = 4
int y = 1
function x + y
return
what is the value given by return ?
was trouble during 10 days about this, then i realised that I have to admit that the int has change value for no reason
