C++ Programming Tutorial 34 - Logical and Comparison Operators

Поділитися
Вставка
  • Опубліковано 23 січ 2025

КОМЕНТАРІ • 23

  • @guitarhax7412
    @guitarhax7412 5 років тому +7

    Done with this one. Next! Also as one of the comments suggested i watch these at 1.25x. It legitimately fits perfectly. Anyway, thanks!

  • @sanjeewanijayawardhane2138
    @sanjeewanijayawardhane2138 4 роки тому +3

    Studying the night before exam this saved my life dude

  • @dave9029
    @dave9029 4 роки тому +3

    thank you for the video I took 3 hours trying to fix a problem with my code only to come across this video and come to the realization that I should try that double equal sign.

  • @Markofka
    @Markofka 4 роки тому +3

    I used while(guess != answer) so you dont have to run the code after every guess

  • @manugajanan3979
    @manugajanan3979 3 роки тому +1

    What if you wanted to print something like "you got my name right but my age is wrong!" - or vice versa
    - Cheers

  • @prehistoricalgorithm2219
    @prehistoricalgorithm2219 4 роки тому +1

    Could you still use the word ‘and’ instead of ‘&&’ or is there a down side to it

    • @PunmasterSTP
      @PunmasterSTP 3 роки тому

      Personally I always stick to &&, but I think there’s a bit of a discussion on the subject ( stackoverflow.com/questions/14740864/any-downside-to-using-the-and-operator-vs-the-operator ).

  • @olliveraira6122
    @olliveraira6122 4 роки тому +7

    I must say you look very fresh for being the age of 63 :D

  • @irisfang5961
    @irisfang5961 3 роки тому +1

    So helpful for an international student!!!

  • @ngiderobins3544
    @ngiderobins3544 4 роки тому

    sick and tired with you frequent publicity in all your tuto 😁😁😁
    but you've been very helpful sir, thanks a million

  • @vcrfuneral_
    @vcrfuneral_ 2 роки тому

    Why do people use std::~~~~ instead of just doing using namespace std at the beginning? Im learning c++ as my first language in college and the teacher taught us this way but some students still go with the old route? Seems like a waste of time to keep doing it each line

    • @TipsyDriver
      @TipsyDriver Рік тому +1

      It is a better practice to use the namespace per function, as the former could have unexpected consequences

  • @ccccr5628
    @ccccr5628 5 років тому +1

    thank you sir

    • @MI-hf4cq
      @MI-hf4cq 4 роки тому +2

      Not sir. Sirs are boring this is a cool dude

    • @tacocat_
      @tacocat_ 2 роки тому

      @@MI-hf4cq lol

  • @silvertakana3932
    @silvertakana3932 3 роки тому +1

    On line 11 you missed spelled the word “guess” into “gues”, which triggered me.

  • @_Alex_95
    @_Alex_95 3 роки тому +2

    no way he is 63

  • @ashminniraula1193
    @ashminniraula1193 4 роки тому +2

    you look quite young for a 63 y/o dude

  • @mattham2260
    @mattham2260 Рік тому

    Gues :(