谁能帮我
问题描述:
大家好,
下面是我实际面临的问题的示例代码。我实际上无法为结构AmChart重新分配额外的内存。
以下是我在程序中一直使用的变量和声明
Hi All,
Below is a sample code of a problem which im facing actually. I am in fact unable to reallocate additional memory to the struct AmChart.
Below are the variables and declarations which ive been using as such in programs
展开 | 选择 | Wrap | 行号
答
我建议你试试这样..
I suggest u try like this..
展开 | 选择 | Wrap | 行号
你有cout<< ;语句,所以我假设这是C ++。那么,当你应该使用new运算符时,为什么要使用calloc和realloc?
You have cout << statements, so I assume this is C++. Why, then, are you using calloc and realloc, when you should be using the new operator?
你好Xoinki,
感谢您的支持。
我的确尝试过这个......但是程序仍然没有分配更多的内存。你有别的建议吗?
谢谢,
Am_Rich ......!
Hi Xoinki,
Thanks for your support.
Ive indeed tried this out as well...but the program is still not allocating further memory. Do you have anything else to suggest me?
Thanks,
Am_Rich...!