int cookies[ArSuze]= {1,2,4,8,16,32,64,128};
for(pt=begin;pt!=end;pt++)
cout<<*begin;
cout<<*end;
begin =数组首
end =应该等于数组尾!但是显示得出是随机数
/color]
begin 与 end 应该是关键字,不是太懂!
...全文
3396打赏收藏
begin和end
int cookies[ArSuze]= {1,2,4,8,16,32,64,128}; for(pt=begin;pt!=end;pt++) cout<<*begin; cout<<*end; begin =数组首 end =应该等于数组尾!但是显示得出是随机数 /color] begin 与 end 应该是关键字,不是太懂!