I am new to C++ and am trying to translate a program from VB6 to C++. In this program i have an Array that slowly grows in size as the program runs. I need to find out how to "Redim Preserve myArray(Ubound(myArray)+1)" in C++.
For those who don't use VB, this function extends the length of myArray so that it has one more Value in it, but preserves the values that are already there
For those who don't use VB, this function extends the length of myArray so that it has one more Value in it, but preserves the values that are already there