if i want an array of 10000 ints and i just nned to use it like array only (not the functions which vector have seprately from array), then i make an array int a[10000] and vector<int>a(10000); then memory allocation time will be different for them ? if yes, then please tell why ? thanks in advance.
nitin1 15 Master Poster
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
nitin1 15 Master Poster
Ancient Dragon 5,243 Achieved Level 70 Team Colleague Featured Poster
mike_2000_17 2,669 21st Century Viking Team Colleague Featured Poster
nitin1 15 Master Poster
ravenous 266 Posting Pro in Training
nitin1 15 Master Poster
Lucaci Andrew 140 Za s|n
ravenous 266 Posting Pro in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.