c++ 和 Matlab 中 for 循环对比一、在c++中,软件版本visual studio 2008二、在Matlab中,软件版本Matlab 2009a
一、在c++中,软件版本visual studio 2008<br />使用下面的代码输出arrayint数组中的元素<br /> int arrayint[5] = {2,4,6,8,10}; for (int j=0;j<5;j++) { j++; cout<<"j: "<<j<<" "<<arrayint[j]<<endl; }