256 Kilobytes

Answers in Computer Programming | By Japanese

Published

130 views, 0 RAMs, and 1 comment

Tags: Arrays, CPP, Vectors

Profile Photo - JapaneseJapanese256KB WriterSelma, VA

I am told that i need to use an array for my owrk code. What is the difference between a vector and an array when writing in C++?

Download more RAM. 🐏 ⨉ 0Posted by Japanese 1 year ago 🕓 Posted at 19 March, 2019 22:06 PM PDT

I am not Japanese, but I play one on TV.

Profile Photo - thegstocerssonthegstocersson256KB WriterAmador City, CA

I had absolutely no idea how to answer this question until I did some extensive reading. The main difference between C++ Vector and Array vector is simply the sequential containers. Array is lower level data structure and is a memory efficient data area. The Vecture believe it or not take up a lot more memory because of that it can manage storage and grow a lot.

Download more RAM. 🐏 ⨉ 0Posted by thegstocersson 1 year ago 🕓 Posted at 20 March, 2019 06:36 AM PDT

Post a New Comment

Do you like having a good time?

Register an Account

You can also login to an existing account or reset your password. All use of this site is subject to the terms of service and privacy policy.

Read Quality Articles

Read some quality articles. If you can manage to not get banned for like five minutes, you can even post your own articles.

View Articles →

Argue with People on the Internet

Use your account to explain why people are wrong on the Internet forum.

View Forum →

Vandalize the Wiki

Or don't. I'm not your dad.

View Wiki →

Ask and/or Answer Questions

If someone asks a terrible question, post a LMGTFY link.

View Answers →

Make Some Money

Hire freelancers and/or advertise your goods and/or services. Hire people directly. We're not a middleman or your dad. Manage your own business transactions.

Register an Account

Answers— Read More

Find more related content below!