Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I'm assuming this is a C/C++ program. I don't think you can change an array size during program execution. However, if you use pointers instead of arrays, malloc/realloc controlls the C memory management. Here is an example:

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |