C++ Tutorial – 17 – The if Statement

[ad_1]
Facebook –
GitHub –
Google+ –
LinkedIn –
reddit –
Support –
thenewboston –
Twitter –


Posted

in

by

Comments

31 responses to “C++ Tutorial – 17 – The if Statement”

  1. StarmanipulatorKam Avatar

    Amazing tutorial! Thank you so much!

  2. Rit Avatar

    damn you make c++ sassy

  3. Abdurrahman Siddiqi Avatar

    Why did you call it an "if loop?"

  4. Jesse Del Villar Avatar

    I stumbled upon ur tutorials and i got to say they are great really simple and straight to the point, hopefully i do good on my programming quiz tommorow

  5. Darren .Dixon Avatar

    I love this, this will be sooooooo useful in the future..

  6. Kelechi Ikegwu Avatar

    Ok i can't post code but you should have included a (cin) statement to save time but this video was still great keep up the wonderful work !

  7. Pranav Ganesh Avatar

    DUDE !!! its not called an if 'loop' !!! its just called an if statement!!! a loop is something that repeats the respective statements!!! the 'if' statement doesn't repeat anything!!! it just executes once if the condition is true!!!!

  8. x x Avatar

    You had me at chello.

  9. checkmate080 Avatar

    then whats the difference between an if and a while statement…?

  10. taetantantan Avatar

    @artxwork pacman and zelda are not simple at all dude. lol

  11. zeroman201 Avatar

    @SocrTrump I love you Bucky! lol (bc he "rocks")(in the most UNgay way)

  12. Kalaskaffe cpbarn Avatar

    int variable = anything; IS NOT WORKING ARGH!!!

    JUST KIDDING IM NOT THIS STUPID :P:P:PP

  13. Tes Agustines Avatar

    ,you such amazing bro/'

  14. dsadsa9881 Avatar

    when i change the variable to above 30 it still prints chello, wtf i going on, everything is the same lol

  15. sir marty Avatar

    YESS IF STATEMENT ! 😀

  16. Alex Avatar

    how do you use words as varibles in c++

  17. Nikotiini Avatar

    Why is if statement so far from the beginning in your tutorials? In most other tutorials if is right after variables and user input.

  18. SocrTrump Avatar

    3:01
    "Alright, your test is false. So I aint runnin this code at all, hoss."

    lmao this guy rocks.

  19. Alex Kratz Avatar

    just wondering is there an equivalent of the goto command in batch files?
    for instance can you label a line and then goto it?

  20. KLD Avatar

    @Silarus
    f (variable == 30) { cout << "Chello" << endl; }

    cout << "Not part of the loop" << endl;

    for if you put double equal .

  21. Silarus Avatar

    I accidentally did this in my code while following along but the result that showed was interesting.. not quite sure why.

    int variable = 16;

    if (variable = 30)
    {
    cout << "Chello" << endl;
    }

    cout << "Not part of the loop" << endl;

    when i ran this it still showed chello on the screen!? why?

  22. Travis Hill Avatar

    This is what I use the most, lol.

  23. MillenniumAtheist Avatar

    I was about to post that you forgot the else until I looked at the nae of your next video XD

  24. Jay B Avatar

    Thanks for making the videos they definitely help. Kills me inside alittle that you don't align your code. I just have OCD about that type of thing :P. I want people to look at my code and think wow this guy is very organized.

  25. Khamraj Rohit Avatar

    @icekat83 no i already fixed it, i saw i needed "==" instead of "=", i saw it in the next tut

  26. Khamraj Rohit Avatar

    this cod isnt working properly

    int var;
    cout "input value: ";
    cin var;
    cout
    if (var less 30)cout "win"

    if (var more 30)cout "loose"

    if (var equal 30)cout "Draw"

    if the value is less than 30 it shows win and then draw

    i simplified it for the comment

  27. 101ohmypecs Avatar

    @bklegend3 I used more vids for it and i bought a book some weeks ago.. The hack will be for a FPS

  28. bklegend3 Avatar

    @101ohmygod lmao lol so what game u trying to make hack for

  29. 101ohmypecs Avatar

    dude, im gonna make sum hax with c++ 😀 thx for the help

Leave a Reply

Your email address will not be published. Required fields are marked *