Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

C++ Tutorial #3, Conditionals (3)

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
3,308
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Dec 29, 2007

Basic If Statements, Guessing Game

Category:

Howto & Style

Tags:

License:

Standard YouTube License

  • likes, 1 dislikes

Link to this comment:

Share to:

Top Comments

  • 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.

  • 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.

see all

All Comments (14)

Sign In or Sign Up now to post a comment!
  • 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! ^.^

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more