Help with system("cls") and system("pause") in c++

–1 vote
asked Apr 21, 2019 by JUAN JOSÉ DUQUE SERNA (110 points)

what is wrong with this code? i want to implement it in a little proyect and i need help!

1 Answer

–1 vote
answered Apr 25, 2019 by Сергей З (120 points)
#include<iostream>

using namespace std;

int main(){

cout<<"Hello, world!"<<'\n';

cin.get();

cout<<"Finished\n";

return 0;

}
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.
...