Dynamically increase/decrease array size

前端 未结 4 608
难免孤独
难免孤独 2021-01-05 18:49

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

4条回答
  •  南方客
    南方客 (楼主)
    2021-01-05 19:36

    There is no C functions as such. you can go for C++ container. This has Arrays, lists etc...

提交回复
热议问题