C++ pointers (#18) 👉

Поделиться
HTML-код
  • Опубликовано: 26 ноя 2024

Комментарии • 27

  • @BroCodez
    @BroCodez  4 года назад +8

    #include
    #include
    #include
    using namespace std;
    int main()
    {
    // pointers
    // & address-of operator
    // * dereference operator
    string name = "Bro";
    int age = 100;
    string food = "pizza";
    string* pName = &name;
    int* pAge = &age;
    string* pFood = &food;
    cout

  • @paramenide9505
    @paramenide9505 3 года назад +3

    Bro, I'm a french guy who is learning C++ with your videos. I discovered your videos with the Javascript tutorial. The way you explain things make it so easy to understand and you are funny and it matters for me. In fact, this humor is, for me, your personal style and that's why it's better than most of youtube tutorial in the field of computer science. It brings new skills and it's entertaining. Keep going, that's some great stuff here, Bro

  • @pabloosmo
    @pabloosmo 4 года назад +4

    One week ago this would have been very handy, thank you anyway!

    • @BroCodez
      @BroCodez  4 года назад +1

      darn! What topics do you have coming up btw?

    • @pabloosmo
      @pabloosmo 4 года назад +2

      @@BroCodez it's the last topic of data structures! We've also got threes in here. But the whole course was around lists and different ways to access using static memory, and now dynamic memory

  • @yahyaarfaoui8526
    @yahyaarfaoui8526 6 месяцев назад

    Niiicee

  • @ddeac6705
    @ddeac6705 3 года назад

    Nice

  • @basilzimba5273
    @basilzimba5273 4 года назад +1

    Time permitting, would you please piece together a Data Structures and Algorithms in C++ playlist...

  • @sametsahin-eh3qj
    @sametsahin-eh3qj 9 месяцев назад

    literally teaches me more than my school did lmao thanks BroCode

  • @ThakshinVEVO
    @ThakshinVEVO 4 года назад

    Thank You so much sir!!! For subscribing to me and I've also done cuz I am very interested in programming,i'm learning python now

  • @baovogia6782
    @baovogia6782 2 года назад

    love it

  • @SAEID-n4r
    @SAEID-n4r Год назад

    ❤❤❤❤❤

  • @paramenide9505
    @paramenide9505 3 года назад

    #BroIsAwesome

  • @girl6994
    @girl6994 4 года назад

    Some Chinese engineer recommended me don’t learn C and C++ according VS code. They say they hate Microsoft company. And they think Microsoft has made C language a mess. And they recommended me to use GCC to learn C . But I love VS code anyway.

    • @extrem2497
      @extrem2497 3 года назад +1

      So you do use gcc instead of msvc?

  • @basilzimba5273
    @basilzimba5273 4 года назад +1

    Your video tutorials are really good... I love the way you make clear programming concepts.

  • @mudassirnaz1813
    @mudassirnaz1813 3 года назад

    Thanks bro

  • @martinsbruders5895
    @martinsbruders5895 Год назад

    Hi.is it possible to create a pointer to variable out side of the program in another proces?

  • @girl6994
    @girl6994 4 года назад +1

    There is a little difference between GCC and VS 2019 with C and C++ grammar. I am a little confuse.

    • @BroCodez
      @BroCodez  4 года назад +1

      C and C++ are similar, but have different syntax since they are different languages. C++ is an extension of the C programming language.

  • @study_with_thor
    @study_with_thor 3 года назад +1

    Why do we need to know the address ?

  • @mahlatsemashabane5269
    @mahlatsemashabane5269 Месяц назад

    Anyone from south Africa

  • @girl6994
    @girl6994 4 года назад +1

    In VS Code we can write int number = 0b11000100,but in GCC we can not write binary . Is that right?

    • @BroCodez
      @BroCodez  4 года назад

      I believe you may need a gcc extension for binary. I'm not too familiar with gcc yet since I tend to use VS for everything.

  • @kshau_
    @kshau_ 3 года назад

    899th view

  • @peacefuldeityspath
    @peacefuldeityspath 3 года назад +1

    It crashed =(