摘要:
int *y = new int; *y = 10; 或者 int *y = new int (10); 或者 int *y; y = new int (10); 一维数组: float *x = new float [n]; 在Borland C++中,当new 不能分配足够的空间时,它会引发(t h r o w)一个异常xalloc (在except.h 中定义)。可以采用try - ca... 阅读全文
posted @ 2012-05-25 21:28
Buttonwood
阅读(176)
评论(0)
推荐(0)
浙公网安备 33010602011771号