C++ Tutorial for Beginners 7 - Switch Statement

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

КОМЕНТАРІ • 58

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

    C++ tutorials to a computer student who didnt understand anything in class
    PS- ur wayyy better than my teacher

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

    Thank you for being alive 🙏

  • @ProgrammingKnowledge
    @ProgrammingKnowledge  10 років тому +3

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

    Still awesome in 2k19, You, re an awesome man!

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

    very efficient way of teaching for binger highly recommended { thanks a lot}

  • @chrisg.5507
    @chrisg.5507 3 роки тому +1

    This is what I needed, thx soo much 🙏

  • @dailyupdateglobe
    @dailyupdateglobe 5 років тому

    you are better than my teacher thanks a lot sir

  • @samial-najim4970
    @samial-najim4970 8 років тому

    thank u very much i really get benifite from your video... keep on bro😎💜

  • @ApprenticeOfTheArts
    @ApprenticeOfTheArts 10 років тому +3

    i really like how you have broken everything down an explained it. my only question so far is why havent you discussed the first seven lines of your code? did i miss something simple or are you waiting to get to that point for some reason? if i have confused you or anything im talking about
    1 #include
    2 using namespace std;
    3 int main ()
    4 {
    5
    6 return 0;
    7 }
    i think i understand that the actual code will be written between the { }'s of lines 4 and 7. are lines 1 thru 3 conditions for a certain type of code? and what does the return command of line 6 mean? return to 0 (restart with line 1 or 4)?.
    so far im surprised your videos dont have millions of views. i will be sure to continue to watch all of your videos of learning c++. if they continue to impress me i will be sure to do what i can to spread the word about you.

    • @Skaxarrat
      @Skaxarrat 10 років тому +3

      He did that on the 1, 2 or 3 video (sorry I can't remember the exact one)

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

    Very Good tutorial, thanks

  • @noelperalta8021
    @noelperalta8021 7 років тому +2

    A very detailed video! My only question is (after learning java) is there a String value i can use instead of Char?

    • @chakchakaa
      @chakchakaa 6 років тому

      Hoping someone will answer this question , I really need it too... +ProgrammingKnowledge... Please answer ... thank you

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

      @chakchakaa Char means single letter or num or any symbol but string is more than one letter r num r symbol.

  • @CH03
    @CH03 10 років тому

    A VERY good video aside from what I mentioned below, thank you.

  • @sufyanshoukat5546
    @sufyanshoukat5546 6 років тому

    Thankyou sir so much....Really helpful.....

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

    it"s awesome like how you explain

  • @s.s.dharshan3074
    @s.s.dharshan3074 3 роки тому

    Hi bro I'm from india thanks bro 👍

  • @mxnxsh
    @mxnxsh 7 років тому

    Helpful !
    You earned a Sub 😊

  • @KillerZero259
    @KillerZero259 8 років тому +5

    Very good video. My question is, is it possible to use a "string" type instead of a "char" type?

    • @chakchakaa
      @chakchakaa 6 років тому

      Hoping someone will answer this question , I really need it too... +ProgrammingKnowledge... Please answer ... thank you

    • @pendergastj
      @pendergastj 6 років тому

      A char** is a C style string, you will have to #include to use more advanced features such a string concatination

    • @shivamkumraa
      @shivamkumraa 6 років тому

      Aw you can do for sure. but "char" are just used to store one character but "string" is used to store more than one characters. That's totally on your requirement. although strings capture more space on memory

    • @nayan7207
      @nayan7207 6 років тому

      why not

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

    I am getting multi character error please tell me what i am doing wrong

  • @OsmondFung
    @OsmondFung 10 років тому +1

    Thank you. Really helpful.

  • @Athy99
    @Athy99 5 років тому

    Well explained, thank you so much

  • @ahsanmurtaza9218
    @ahsanmurtaza9218 6 років тому

    can we type a logical condition is case block? like a>0????

  • @babjimarketing6393
    @babjimarketing6393 5 років тому

    brother why cant we use strings in if statements?

  • @chocomahawan5665
    @chocomahawan5665 8 років тому

    Thank you very much sir :) it really helps me..

  • @ardianramadani2762
    @ardianramadani2762 6 років тому

    thnx Man helpful 2018-2019 :
    Better than classrom with my teacher:

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

    why are you writing "break" While we have already written "endl" ??????
    please answer my query

  • @soulpunisher7118
    @soulpunisher7118 6 років тому

    how to put case inside a case in c++
    please tell me

  • @K_CO_ManuSingh
    @K_CO_ManuSingh 7 років тому

    Great Video

  • @happyworld2904
    @happyworld2904 5 років тому +2

    Good vedio. But you forgot to expain the use of break statement.

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

      It is used at the end of case statements to end that case

  • @purparyumi-raimyura-2
    @purparyumi-raimyura-2 5 років тому

    This is the type of coding yandere dev needs to do in his yandere simulator game instead of usin if else statement for all the script

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

    Thank you sir 🙏🏽

  • @ipshamohanty849
    @ipshamohanty849 8 років тому

    Hi all ....I have a doubt...I am trying to use switch case with integers....I have an integer a.And I am doing Enter a and switch(a).Its showing in cli as ..Enter a04X93967.Can anyone please let me know why am I getting this error and how to fix it?

  • @FaithBiete
    @FaithBiete 9 років тому

    Really helpful

  • @Jay-ks8xr
    @Jay-ks8xr 6 років тому

    Case "hai"... This is not working..How give string as a value

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

    nice explain bro

  • @CH03
    @CH03 10 років тому

    I wish you would have shown how to use to upper in this case. Just typing in "case a:" is tedious and a bad habit to form in the long run.

  • @nicstann
    @nicstann 6 років тому

    Thankyouuu! it helps me a lot! ❤

  • @_TheBlackPearl_
    @_TheBlackPearl_ 8 років тому +1

    thanks man

  • @theofulis
    @theofulis 7 років тому

    thank you so much

  • @alfurrehman9170
    @alfurrehman9170 8 років тому

    a.o.a sir good job
    sir how we use this condition for other programe..

  • @engabdullahigutale4705
    @engabdullahigutale4705 7 років тому

    Hey sir i don't what i give you for present thanks a lot

  • @diogoliveira45
    @diogoliveira45 8 років тому

    wow thank you :)

  • @markvin1198
    @markvin1198 5 років тому

    Thanks :)

  • @AfrasiabAhmadSU__O_OO_OO
    @AfrasiabAhmadSU__O_OO_OO 5 років тому

    thanks bro

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

    In previous video while talking about variables u told character (char) can hold only a single character but in this video u r using more than a single character in first program

  • @bigilmusafir142
    @bigilmusafir142 5 років тому

    Thanks

  • @mohammedmolla5578
    @mohammedmolla5578 7 років тому

    thaks

  • @chandrasekharyaswanthdevar916
    @chandrasekharyaswanthdevar916 6 років тому

    thank u

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

    ofcourse its an india xD

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

    Great Video