谁能帮我 [英] Can Anyone Help Me

查看:108
本文介绍了谁能帮我的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,


下面是我实际面临的问题的示例代码。我实际上无法为结构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...!


这篇关于谁能帮我的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆