码迷,mamicode.com
首页 > 其他好文 > 详细

程序中的,fault,error,failure

时间:2018-03-15 01:43:55      阅读:230      评论:0      收藏:0      [点我收藏+]

标签:alt   src   erro   fail   技术分享   err   for   bsp   gpo   

技术分享图片

技术分享图片

 

 

 

 

1.在第一个program中,循环语句的:i>0应该改正为i>=0
第二个program的循环条件有错,应该改为:for(int i=x.length-1;i>=0;i--)

2.第一个program中,x为空数组
同理,第二个program中,x也为空数组

3.第一个program中,x=[1,2],y=1
第二个program中,x=[1,2]

4.第一个program中,x=[1],y=0
第二个program中,x=[0,1]

 

程序中的,fault,error,failure

标签:alt   src   erro   fail   技术分享   err   for   bsp   gpo   

原文地址:https://www.cnblogs.com/zyd746714868/p/8571025.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!