cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
Help
Help
Apr 23, 2016 at 7:11am UTC
WTIAW
(1)
Write your question here.
I'm a beginner.When i use a vector,I want to know where the elements of the vector is? They are located in heap or stack? Thanks!
Apr 23, 2016 at 7:49am UTC
integralfx
(897)
A quick Google search will give you the answer.
http://stackoverflow.com/questions/8036474/allocating-vectors-memory-on-heap-or-stack
Topic archived. No new replies allowed.