討論串[問題] 請教程式的執行順序
共 3 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓0(0推 0噓 0→)留言0則,0人參與, 最新作者applecool (noOneKnows)時間12年前 (2013/05/24 13:16), 編輯資訊
0
0
0
內容預覽:
for 只是一種語法糖喔,C++ 標準. for(A;B;C) {D;} 相當於. {. A;. while(B). {. D;. -> 但注意這裡才是在 for-loop 中 continue 跳到的位置. C;. }. }. B是執行的條件,不寫叫做無條件執行. 但是有一點要注意的是,如果你有
(還有87個字)

推噓1(1推 0噓 0→)留言1則,0人參與, 最新作者tou500900 (遊心)時間12年前 (2013/05/24 13:16), 編輯資訊
0
0
0
內容預覽:
因為是loop 所以用橫向代表時間init iter1 iter2 iter3a=2 f(2)=3<5 f(3)=4<5 f(4)=5==5 loop結束. printf("*"); printf("*"); printf("*"); printf("*"); printf("*");一共print

推噓3(3推 0噓 8→)留言11則,0人參與, 最新作者stator (別急著吃棉花糖)時間12年前 (2013/05/24 10:35), 編輯資訊
0
0
0
內容預覽:
開發平台(Platform): (Ex: VC++, GCC, Linux, ...). VC++. 額外使用到的函數庫(Library Used): (Ex: OpenGL, ...). 問題(Question):. #include <stdio.h>. int f(int a){printf(
(還有158個字)
首頁
上一頁
1
下一頁
尾頁