Protected Access Modifier in C++ | C++ Tutorials for Beginners #39

Поділитися
Вставка
  • Опубліковано 12 лис 2024

КОМЕНТАРІ • 177

  • @madhavpaliwal8810
    @madhavpaliwal8810 4 роки тому +95

    Sir ! You are great. Your videos are helpful for me and everyone. I can understand topic more effectively than my college Teachers taught me.

  • @vikaschauhan-rv6fi
    @vikaschauhan-rv6fi 4 роки тому +1

    Harry sir Abi Mai c programming seekh raha hu apki videos se fir bhi apki Har new video pe bina dekhe like comment or share krta hu... Harry sir aap best teacher Ho.

  • @Ayush_.
    @Ayush_. 3 роки тому +3

    harry bhai bahut easy tha......
    aapke table ne ise aur easy banaa diya ..... aaa gya samajh
    cout

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

      endl lagana na bhule

    • @Ayush_.
      @Ayush_. 3 роки тому

      @@kunalshahare9041 oooo 😯 😲 thankkkkkku thankaau

  • @nayanjain1431
    @nayanjain1431 4 роки тому +90

    Sir, plz start tutorial on competattive programming.
    Those who want this series hit like -

    • @naveenkamath2882
      @naveenkamath2882 3 роки тому +7

      bhai did u start cp after 1 year of seeing this video

    • @cognitive-corner
      @cognitive-corner 6 місяців тому +1

      did you start after 3 years??????

  • @manavt2000
    @manavt2000 Рік тому +6

    I just wanted to let you know that even after 3 years of releasing this video people like me are learning from it...thank you Harry you are a blessing to humanity..

  • @General-ch
    @General-ch Рік тому +9

    Let
    Public ~ strong
    Protected ~ stronger
    Private ~ strongest
    Jo ba nisbat dosray k strong ho ga Derrivation us Mode main ho ge.
    Example :
    Members of Base class is Protected
    And Derivation Mode is Public
    So,
    Derived class will inherit in "Protected Mode" ,
    Because,
    Protected is stronger than public. 👍
    And always keep in your mind that private members can never inherit in any Mode.

  • @tushardimri1796
    @tushardimri1796 4 роки тому +20

    TBH i didn't access this playlist yet i have prioritised other playlists from this channel
    Harry Bhai please make a series on stock market basics and algorithms,it'll be a great help

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

    REALLY HELPFUL CHANNEL ON UA-cam.❤️

  • @KrishnaKumar-dx8ox
    @KrishnaKumar-dx8ox 4 роки тому +7

    sir,
    it been long time since u have been uploading videos on c++ and u have taught so many new things .as its lockdown and students are struck at their homes ,so can u please speed up the rate of uploading your videos on c++ .so that we can use this time efficiently for learning a programming language.

  • @abrarahmad3897
    @abrarahmad3897 Рік тому +3

    hey harry, just wrote my code of this lecture by utilising the knowledge that you taught us in the video. Thanks a lot for the session. Here is the code:
    code:
    #include
    using namespace std;
    //class base: containing the protected variable a
    class base{
    protected:
    int a;
    public:
    base(){
    couta;
    cout

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

    Thanku harry bhai for c++ series video.

  • @--kakashi
    @--kakashi Рік тому +5

    simple method to remember that table :
    just remember that security can go to upper level or remain at the same level but never go to lower level

  • @D-Coder440
    @D-Coder440 Рік тому +2

    Thank you So Much Harry Bro ❣️ For this Wonderful and easy to understandable explanation

  • @sudarshanmhaisdhune1039
    @sudarshanmhaisdhune1039 3 роки тому +7

    Such a great video for the concept 🤗

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

    Bhai You are helping me to pass in my CS course ...... love from Bangladesh bro 💕

  • @aayushchoudhary-p7d
    @aayushchoudhary-p7d 7 місяців тому

    Thanks Harry sir for clearing my concept 🙂.

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

    Thank you so much harry bhaiya ❤❤

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

    Very helpful tutorials 😍 thanks to you harry bhai 👍🙏

  • @julfekar7564
    @julfekar7564 5 місяців тому +1

    Good explanation 🎉🎉😊

  • @webv2755
    @webv2755 2 роки тому +2

    My whole class watch your videos for coding.

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

    Thankyou for making our lockdown successful.we can learn new technologies and language by watching your video
    #dilsethankyou

  • @AshutoshSingh-do4ts
    @AshutoshSingh-do4ts 6 місяців тому

    Thank you harry bhai so nicely explained

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

    best tutorial on C++ harry bhai❤❤❤

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

    Gajab explanation
    🔥

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

    Thanks Harry Bhaiya

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

    Thank you so much harryyy bhaiiiiiii

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

    Bhai you should be in my college in place of my college teacher because you explain and teach like a professional.than my college teachers

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

    Best explanation 😘

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

    Thanks sir for making this playlist ,This playlist is very helpful for me.

  • @SG-fm2pr
    @SG-fm2pr 3 роки тому

    Harry bhai love u dil se😀❤️

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

    You are the best harry bhai, love from milkyway galaxy

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

    really helpful channel. love the playist❤‍🔥

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

    Hello Harry Bhai you are a great programmer☺️

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

    Awesome Video Bhai

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

    Thank you ❤

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

    Thank you, harry bhai!

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

    thankyou so much sirrr !!!!

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

    Very nice and helpful.

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

    thank you so much bro

  • @MuhammadSalman-l3z
    @MuhammadSalman-l3z 8 місяців тому

    very nice harry bhai 🥰🥰

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

    Incredible sir

  • @SaimaKousar-r9o
    @SaimaKousar-r9o Рік тому

    Thanks Sir For useful course in C++ . i also access your C course in C course you give Quick quizzes that was really helpful but in C++ you does not give any quick quizzes. kindly give us some important quizzes in C++ course as C course that was very heplfull in Final exams also .

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

    Very good explanation

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

    Bhaiya ek video on open source contributions also
    Very helpful

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

    Holy! I finally understand protected

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

    Love from Chandigarh

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

    Thank you harry bhai you thought very well😀😀

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

    Very easy explanation :)

  • @MuhammadTalha-mc3xx
    @MuhammadTalha-mc3xx Рік тому

    harry bhai ap na bataya ka protected private be ha or inheritance be ho sukta ha phr ap cout

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

    Thanks for the video. Excellent.

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

    Thanks

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

    That was really helpful !!!

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

    Really very Very helpful videos. Thank you bhaiya💖💖💖. Take love and respect 🙏

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

    Thank You !
    .
    .
    .

  • @saadhassan8813
    @saadhassan8813 6 місяців тому

    Nice Table

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

    thank you sir❤💕

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

    thank you bhai

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

    Op bhai op...

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

    guys, it is important to understand that protection is necessary whether it is coding or life!

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

    nice vedios...

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

    you are the best

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

    Great sir

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

    Nice harry Bhai

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

    Aaj smjh aaya protected shi s 🔥🔥
    Harry bhai apni age btadijiye

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

    thanks sir ,you are awesome

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

    3:36 matlab protected waala inherit ho skta hai?

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

    Awesomeeeee

  • @ShamishaKanchi
    @ShamishaKanchi 4 роки тому +29

    You know what I accidentally skipped "and I will see you next time" part of the video and went back to just listen to it.

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

      Are you persuing BTech right now?

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

      @@myselfashutosh yes, CSE!

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

      Yeah right..😅😅 it happened with me earlier too. I always wait for Harry bhai to say it at the end.😅😂

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

      me still waiting for his tutorial on cp

    • @Strcsds54691
      @Strcsds54691 Рік тому +2

      ​@@ShamishaKanchi women

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

    Protected is inspite of being private can be inherited

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

    Awesome 😎😎 video 📷📸

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

    Well explained harry bhai, 😍

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

    6:44 private to teeno case mai private hi rhenge kyuki vo inherit nhi hote

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

    Greatt!!❤️❤️

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

    idhar hm friend function se nhi use kr skte private ko?

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

    Bhai competative programming ke upar videos banao

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

    Thanku sir

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

    Sir , My VS Code has issue (cannot find runtime 'node' on path , 'node' installed )
    [Open launch.Jason]
    I am trying to solve this error but no result is obtained .
    Sir plzzz help me . make one video for this problem.

  • @dv64bit
    @dv64bit 3 роки тому +3

    summary of table: protected member in publically derived class from the base class will remain protected

  • @AhmedImran-vz3hp
    @AhmedImran-vz3hp 3 роки тому

    pre-directive wala tutorial konsa ha

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

    C++ ki is series me kitne videos rhenge bhai.

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

    Sir so when will protected will print

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

    What's the difference between protected and private

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

    These are "MUST LIKE" videos, so everyone 'should' like

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

    Broo u could have explained about protected more clearly. I mean protected members can be accessed in derived class

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

    Big fan

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

    what is your theme bro?

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

    Please make a playlist CPP prractice

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

    Harry bhai pls...make a video on how to install turicreate on window 10 ...pls bhaiya🙏

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

    Please make a big project in c++

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

    Bhai java tutorial kab bano ge

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

    day 15 on #39 thanks bro

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

    Bhai aapka ye course college placements ke liye kaafi hain kya ?

  • @IrfanKhan-iw4pl
    @IrfanKhan-iw4pl 4 роки тому

    First comment
    Harry bro
    God bless you

  • @NarendraSingh-ll5qv
    @NarendraSingh-ll5qv 4 роки тому

    Sir total kitne tutorial videos honge is c++ ke course me
    Please reply me

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

    Sir d variable not declare I can't undestan without declare d program run how

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

    Bhai java tutorial bano please

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

    agar hume private member class ke access krne ha to derived class ko base class ki friend bhi to bana sakte ha 🤔🤔 ? is this correct or not?

  • @Ayushsharma-qc7qx
    @Ayushsharma-qc7qx 2 роки тому

    KING

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

    Meine ek website banakar company ko dene ke liye experience hona jaruri hai??

  • @IDK-sk2yj
    @IDK-sk2yj 2 роки тому +1

    #include
    using namespace std;
    class Value{
    private:
    int a;
    protected:
    int b;
    public:
    int c;
    // int val(){};
    int val(int x, int y, int z) {

    couty>>z;
    a=x;
    b=y;
    c=z;
    }
    int val(int x, int y) {
    couty;
    a = x;
    b = y;
    }
    int returna() {
    return a;
    }
    int returnb() {
    return b;
    }
    int returnc() {
    return c;
    }
    };
    class Calc:protected Value{
    int sum;
    int product;
    public:
    void sum1() {
    int x,y,z;
    val(x,y,z);
    sum = returna()+b+c;
    printsum();
    }
    void product1() {
    int x,y;
    val(x,y);
    product = returna() * b;
    printproduct();
    }
    void printsum() {
    cout