如何动态创建char数组 ?? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 char *p;p=new char[20];...delete []p; char *str=new char[100];不是吗? int n = 10;char *pszChar = new char[n]; char* pChar;pChar = new char[100]; char * pChar;pChar = (char*)globalalloc(.....)...globalfree(pChar); 可以研究一下CString的源代码,网上也有一些脱离MFC的CString。都是动态生成,用起来很舒服 VC6在定义对象的时候初始化对象为什么不提示构造函数的形参? SourceStyler 1.4.4 汉化版(首发CSDN) 如何设断点调试宏 哪位大侠有兴趣帮解个方程 用ado做数据库的遍历,但结果不能在ListCtrl中显示.急啊! 数据的保存问题!!请进来看看啊 一些小问题。 线程的问题 Win2000启动时不开外置Modem,为什么就找不到它了??? string和cstring 互换 请教高手:VC怎样才能直接引用c程序的运行结果 com初学者问题
p=new char[20];
...
delete []p;
不是吗?
char *pszChar = new char[n];
pChar = new char[100];
pChar = (char*)globalalloc(.....)
...
globalfree(pChar);