0
program with using new operator.
plz
2 ответов
+ 1
The new and delete operator refer to dynamic memory. I'll link you to a Web page that explains it very well and has some code snip bits explaining things better than I could. I hope this helps.
http://www.cplusplus.com/doc/tutorial/dynamic/
+ 1
char* myStr = new char[128];
this program allocates memory for 128 characters. Then you can assign values to each one of those chars.