C和C++从零开始系列(六)
摘要:
前边说到C和C++使用 for 和 while 实现循环的方式,在C和C++中,还有一种方式能够实现循环,那就是 goto。虽然我们不建议使用 goto 。 这是上一篇中的while循环程序。 1 int main() 2 { 3 int a[10] ={0}; 4 int x = 0; 5 whi 阅读全文
posted @ 2020-01-05 10:49 程序员Daniel 阅读(152) 评论(0) 推荐(0)
浙公网安备 33010602011771号