Wednesday, 21 August 2013

How do I make function that needs to do this?

How do I make function that needs to do this?

I am working in c++ with structs and dynamic allocation,and i need to make
function that automatically increases the size of array:
structType * array=new structType[max];
and i can't use `vectors'. Does anybody knows how to do this?

No comments:

Post a Comment