C++ Tutorial #3, Conditionals (3)
Top Comments
All Comments (14)
-
It was an ok Tut but, i would suggest making it clearer, because it might be very confusing for a beginner. plus i told one of my trainees to do this tutorial and he said he did every thing right and he got 7 compile errors.
-
its just and L lower case then a ;
-
but if I enter a number like 123123123123,
then for some reason it says it's too low.
otherwise, If i ente ra numbe rlike 34 or 45 it says please reenter a number within the range.
-
lol when it didn't work and u went to do the dowhile thing, i tried something else.
I set the PlayAgain to y beforehand.
Then I got into that infinite look do you want to play again thing.
ANd I saw u soon had that error too.
So then What i did was I cleared the userguess at the bottom.
Then I saw u did that too lol.
Then I realized u can enter above 20, so i put an && on the first else if > random, then made a third else if.
-
anyone know where i can find the symbol at the end of end, on the program
i.e cin >> end?
-
extreme audio lag!! but great tut
-
=o jake is everywhere 0_0
-
=o its jake!!!
-
Hi Strelok,
I think the while loops are better, the reason it didnt work is because you forgot to intialize playagain = 'y', so your while loop just skipped right down to the end and was waiting at getch().
Great tutorials, keep em up dude! :-D
-
Great tutorial, it really helped me! ^.^
Wow, I really like your tutorials. But I recommend one thing, and that would be get some type of website and post the completed and working code because when you made these errors it made it hard to follow. Thanks again for the tutorials.
ScoobyDooobyD00 4 years ago 7
I agree that errors are hard to follow and sometimes they can confuse more beginner programmers who don't know what your talking about, however, making errors while you work on a tutorial can sometimes be helpful by broadcasting how everyone can make errors and teaches people not to make the same errors.
MasterJake777 4 years ago 6