Hello,i'am just learning C++.
And i want to know how to stop a console while running , cause if i press 'Debug' it's closing immediately and this is my code, i already added system ("pause") but still not working any help? ^^
Source :
And i want to know how to stop a console while running , cause if i press 'Debug' it's closing immediately and this is my code, i already added system ("pause") but still not working any help? ^^
Source :
Code:
// C++ Hello All Tutorial by Primmo
#include <iostream>
#include <cstdio>
using namespace std;
int main()
{
cout<<"Hello All!"<<endl;
system ("pause");
return 0;
}