I\'m trying to increase the size of an array dynamically. Is there any standard C or C++ function, which appends additional space at the end of an array or removes it? I kno
The function you're looking for is realloc() in C, which is also present in the C++ STL as std::realloc
Though as you mentioned C++, you could also go for an standard container like std::vector which encapsulate the associated memory management.