C++ Programming Tutorial 32 - Control Flow

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 ธ.ค. 2024

ความคิดเห็น •

  • @mohammedmhilal4129
    @mohammedmhilal4129 4 ปีที่แล้ว +20

    kudos to everyone who are still going!!

  • @brocklesnarufcchamp1
    @brocklesnarufcchamp1 3 ปีที่แล้ว +5

    Finally, the good stuff!

    • @pierfrancescopeperoni
      @pierfrancescopeperoni 3 ปีที่แล้ว +3

      You mean Embarcadero? Hey, have you ever heard about Embarcadero?

    • @PunmasterSTP
      @PunmasterSTP 3 ปีที่แล้ว +1

      @@pierfrancescopeperoni Yes, and now I know they make at least two products: C++ Builder and Rad Studio. Super!

  • @xriccardo1831
    @xriccardo1831 5 ปีที่แล้ว +6

    Good lesson Man, ive already studied this but i wanted to Watch your videos and wooah, you can become a teacher i think

  • @Markofka
    @Markofka 4 ปีที่แล้ว +6

    This tutorial series was very helpful so far. I was getting kind of annoyed that we were only learning c++ "vocabulary", but I can already see that it will help us progress much faster in the upcoming videos.
    I'm already able to make a simple but very functional calculator using custom functions, switches, and terminal inputs and outputs.
    Thank you so much for everything so far, I will make sure to complete the entire series. :)

  • @claycasper3638
    @claycasper3638 5 ปีที่แล้ว +5

    Thanks for making these videos. really helps!

  • @NFvidoJagg2
    @NFvidoJagg2 4 ปีที่แล้ว +1

    one way to get around the switch limitations is with a switch true. where you set the cases to a T/F expression.

  • @thedude3544
    @thedude3544 5 ปีที่แล้ว +2

    thanks caleb ! good video ...

  • @koton_bads
    @koton_bads 4 ปีที่แล้ว +6

    The first thing I made with the if and else statement is this:
    #include
    using std::cin;
    using std::cout;
    using std::endl;
    int main()
    {
    int a;
    cout a;
    if(a == 69)
    {
    cout

  • @Vorchix
    @Vorchix 5 ปีที่แล้ว +1

    The Murda Beats of Programming

  • @ReddoX30
    @ReddoX30 5 ปีที่แล้ว +1

    If I remember correctly, the "default" case doesn't need a break statement, it has it built-in.

    • @sryp3055
      @sryp3055 4 ปีที่แล้ว +1

      No it doesnt, you still need a break command. But, because ussually the default statement at the very bottom of the case, it will only execute itself (because there is no other case below default).

    • @ReddoX30
      @ReddoX30 4 ปีที่แล้ว +1

      @@sryp3055 A switch statement can have an optional default case, which must appear at the end of the switch. The default case can be used for performing a task when none of the cases is true. No break is needed in the default case.
      I did some research and this is what I found.

  • @michaelswagson4457
    @michaelswagson4457 4 ปีที่แล้ว +2

    1:35 to skip the shilling.

  • @someinternetdude4159
    @someinternetdude4159 3 ปีที่แล้ว

    I think some compilers will do ranges on a switch like; case 1 ... 17 But I know the MSVS C++ compiler won't allow it, at least mine won't.

  • @gauthammanimaran4923
    @gauthammanimaran4923 2 ปีที่แล้ว

    This video is so helpful

  • @omidnabavyable
    @omidnabavyable 3 ปีที่แล้ว

    great job

  • @jdh3782
    @jdh3782 5 ปีที่แล้ว +1

    Thank you!

  • @raviel_0422
    @raviel_0422 4 ปีที่แล้ว +1

    #include
    #include
    #include
    #include
    using std::cout;
    using std::cin;
    using std::endl;
    using std::string;
    int main()
    {
    int secret_num;
    cout > secret_num;
    if(secret_num == 69){
    cout

    • @dhruvdonsahu9972
      @dhruvdonsahu9972 3 หลายเดือนก่อน

      its been long, but well done

  • @akshettrj
    @akshettrj 5 ปีที่แล้ว +1

    I think we can use char in switch also

    • @codebreakthrough
      @codebreakthrough  5 ปีที่แล้ว +2

      Yeah. Each char correlated to a number from the ascii table. So it’s classified as numeric 🙂

  • @masoodsediqi1440
    @masoodsediqi1440 5 ปีที่แล้ว +1

    THank you boss

  • @matt-g-recovers
    @matt-g-recovers 4 ปีที่แล้ว +1

    You need bigger dogs ;)
    I was like 'is that a bird?'
    He goes, 'and there go the dogs barking' lol.
    ... we breed Irish Wolfhounds, dog bark is much different sound.

  • @PunmasterSTP
    @PunmasterSTP 3 ปีที่แล้ว

    Call of Duty? More like Console of Duty!

  • @nyctophilelyrics
    @nyctophilelyrics 3 ปีที่แล้ว

    thanks god i found your channel
    #newsubs here

  • @user-hj6kf8wc5c
    @user-hj6kf8wc5c 4 ปีที่แล้ว +2

    ive been doing cs hw for 5 hours now and I'm only half way done...
    ]

  • @al-moutaz-billah
    @al-moutaz-billah 4 ปีที่แล้ว +1

    Hi Caleb, please keep in mind that the Black Board is way better than the green one.
    Any way thanks for the great content.

  • @Vicky_2003.
    @Vicky_2003. 3 ปีที่แล้ว

    Y not C++ confirm that was use
    From thank you

  • @HasanCRM
    @HasanCRM 10 หลายเดือนก่อน

    "let's say if your age is 18, we wanna do somehing else"💀💀

  • @timesnow6205
    @timesnow6205 3 ปีที่แล้ว

    0 dislikes, explaining's skills (i not going to ruin it and dislike it