วันพฤหัสบดีที่ 15 กรกฎาคม พ.ศ. 2553

B07.ฟังก์ชัน system("pause")

ฟังก์ชัน system("pause")
คำสั่งให้ computer หยุดรอการกด คีร์บอร์ด ของเราก่อนจะทำง่านต่อไปครับ
ตัวอย่าง

Coding:

#include
int main (void){

printf("Hello World\n");
system("pause");

}


Output:

Hello World
Press any key to continue . . .

ไม่มีความคิดเห็น:

Popular Posts