แสดงบทความที่มีป้ายกำกับ B07.ฟังก์ชัน system("pause") แสดงบทความทั้งหมด
แสดงบทความที่มีป้ายกำกับ B07.ฟังก์ชัน system("pause") แสดงบทความทั้งหมด

วันพฤหัสบดีที่ 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