Login Page - Create Account

Support Board


Date/Time: Fri, 27 Dec 2024 03:00:13 +0000



Post From: C++ List and Maps

[2015-12-12 12:54:39]
FerroTrader - Posts: 70
Hello, sorry for "re-opening" this thread...
Would you be so kind to provide and example of "dinamically creating" the vector ?

For instance, I create the pointer to the vector like this:

std::vector<int> *MyAttempt;

but once I try to write something like: MyAttempt = new std::vector<int>();
Visual Studio does not compile the solution...

Could you be so kind to help me please ?

Thanks
CP