If Statements | C++ | Tutorial 16

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

КОМЕНТАРІ • 16

  • @kytdk756
    @kytdk756 6 років тому +9

    thanks

  • @the_foliot
    @the_foliot 3 роки тому +5

    Mike Dane is the fucking MAN! As a construction worker who started learning to code python on a whim, and now learning C++ to help a friend code a game in Unreal, THANK YOU. I can’t wait until the day I can ditch the shovel and program for a living.

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

      I must add, Mike taught me Python as well lol. The best teacher, so easy to listen to and articulates the concept quickly and concisely. So thankful for you, Mike. #giraffeacademyftw

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

      Yes, I am rooting so hard for you!!! How's it going now? I really, really, really hope everything's worked out well for you.

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

    This is a great tutorial.

  • @howtodoYTvids
    @howtodoYTvids 2 роки тому +1

    Hi. I would like to know how to get user input from the boolean values.

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

    Hey! I have a problem with the coding if someone helps me i would greatly appreiciate it!... I am a beginner
    #include
    using namespace std;
    int main()
    {
    char chat[4];
    char yes [3];
    char no [2];
    char ans [3];
    cout chat;
    if (ans == no)
    cout

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

      use coloms to if statement

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

      You are using CHAR data type and storing more than one character in the if statement

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

      @@kushagra0347 then which data type should I use?

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

      @@jayampathybandara6196 I tried that it didn't work

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

      #include
      using namespace std;
      int main()
      {
      string chat;
      cout chat;
      if (chat.compare("No") == 0 || chat.compare("no") == 0){
      cout

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

    me when

  • @zoku5896
    @zoku5896 11 місяців тому

    Thanks