C++ Vectors Tutorial: Master Dynamic Arrays and Advanced Data Storage

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 มิ.ย. 2024
  • In this comprehensive C++ tutorial on vectors, you'll unlock the full potential of dynamic arrays and harness the power of advanced data storage. Learn how to effectively use vectors, a versatile container class in C++, to dynamically manage collections of elements, making your code more flexible and efficient. Discover essential vector functions, like resizing, adding and removing elements, and iterating through data. Whether you're a beginner or an experienced C++ developer, this video will equip you with the knowledge and skills to leverage vectors for a wide range of programming tasks. Take your C++ programming to the next level with this in-depth exploration of vectors!
    // Consider supporting this channel in multiple ways
    paypal.me/hankstalica1
    Bitcoin: 177wfkQwzXiC8o2whQMVpSyuWUs95krKYB

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

  • @MrBoka45
    @MrBoka45 9 หลายเดือนก่อน

    You are good professor thanks

  • @leroyjenkins8886
    @leroyjenkins8886 ปีที่แล้ว

    This has been integral learning about how vectors work and how I can use size of instead of just guessing how large the vector is in my for loops is very interesting

  • @honoredcodes
    @honoredcodes ปีที่แล้ว

    Thank You :)

  • @Gustavastas
    @Gustavastas ปีที่แล้ว

    very clear explanations. thanks.

    • @ProfessorHankStalica
      @ProfessorHankStalica  ปีที่แล้ว

      Hi! Really glad you found it helpful and thanks for the kind words!

  • @aslamtu
    @aslamtu ปีที่แล้ว

    Thanks

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

    Professor, can you use a range based for loop to find the highest value in a vector?
    This is how i would use a normal loop
    int high = b[0];
    for (int i = 1; i < b.size(); i++)
    {
    if (b[i] > high)
    {
    high = b[i];
    }
    }
    return high;
    just wondering if ranged based for loops can do the same

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

      Yes. Absolutely. Just use the target variable instead of b[i]

  • @kmalnasef1512
    @kmalnasef1512 ปีที่แล้ว

    thank you

  • @bashiraddean-mufarreh
    @bashiraddean-mufarreh ปีที่แล้ว

    Excuse me . If you don't mind. Sir, can you write me a plan to learn programming in C plus Plus? From beginning to accessing networks, networked decision-making systems.

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

      Absolutely. catalog.csueastbay.edu/preview_program.php?catoid=21&poid=8388

  • @canadug1
    @canadug1 5 หลายเดือนก่อน

    I can't be the only one the giggled at the 8675309 reference.