能力值:
( LV2,RANK:10 )
|
-
-
|
能力值:
( LV2,RANK:10 )
|
-
-
c++primer第三版第二章程序vs2005編譯錯誤
修改成这样就行了。
int main()
{
const int array_size = 4;
int ia[array_size];
char ca[array_size];
double da[array_size];
int ix;
for ( ix = 0; ix < array_size; ++ix)
{
ia[ ix ] = ix;
da[ ix ] = ix * 1.75;
ca[ ix ] = ix + 'a';
}
for ( ix = 0; ix < array_size; ++ix)
cout << "[" << ix << "] ia:" << ia[ ix ]
<< "\tca:" << ca[ ix ]
<< "\tda:" << da[ ix ] << endl;
return 0;
} 可以确定,问题出在了
Array<int> ia(array_size);
Array<char> ca(array_size);
Array<double> da(array_size);
上,不过我编程没有接触过上面这样的定义。我写程序总是越简单越好!
|
能力值:
( LV2,RANK:10 )
|
-
-
求教,如何改调试器 .
比如用trw2000调试软件,会显示你正在使用调试器,请关闭后运行.
如何把trw2000改了,躲过软件或他的壳的效验.
有些壳特别闹心,什么调试器都不能用.不光是我说的trw
|