[code]
#include < iostream.h >
#include < conio.h > //for getch()
void main()
{
[code]
#include < iostream.h >
#include < conio.h > //for getch()
void main()
{
แนะนำอีกวิธีนึงครับ โดยการใช้ shell command ใน console
Code:#include < cstdlib > using namespace std; int main(int argc, char* argv[]) { /* wait for any key input here */ system("pause"); }
ง่ะ ทำไมตรง include มันหายไปเนี่ย'
เอาเป็นว่อย่าลืม include standard library (cstdlib) ก็แล้วกันครับ ก่อนใช้ฟังก์ชัน system()
Actions : (View-Readers)
There are no names to display.