[C++] Vectors

binh12A3
Oct 31, 2021

--

My name is vector. I’m a dynamic array, memory leak killer, and a stack holder…😎😎

  • Vector could be used as a dynamic array safe and sound.
  • With vector, we don’t need to do a Dynamically allocating (i.e: new), and free the memory (i.e : delete). It handles automatically.
  • We can resize a Dynamically allocating array easily with vector
  • Vector could be used as a stack

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

binh12A3
binh12A3

Written by binh12A3

share to be shared 😎 Made in 🇻🇳

No responses yet

Write a response