![]() |
Dev C++如何停住畫面
我的程式如下
語法:
#include<stdio.h> 程式我要怎麼寫才可停住結果? |
#include<stdio.h>
int main() { int x; x=10; printf("x=%d\n", x); x=x+3; printf("x=%d\n", x); system("PAUSE"); return (0); } |
引用:
我照大大的方法 反而不行 |
#include<stdio.h>
#include <stdlib.h> int main() { int x; x=10; printf("x=%d\n", x); x=x+3; printf("x=%d\n", x); system("PAUSE"); //執行這個函數 要先宣告#include <stdlib.h>才能動 return 0; } |
引用:
感謝教導 又學到一招:on_12::on_12: |
所有時間均為台北時間。現在的時間是 03:21 AM。 |
Powered by vBulletin® 版本 3.6.8
版權所有 ©2000 - 2025, Jelsoft Enterprises Ltd.
『服務條款』
* 有問題不知道該怎麼解決嗎?請聯絡本站的系統管理員 *