0

I want to write a graphical code in C++ that with one button show hello world and with another shows goodbye and close the app

I know how to show hello world but not about the other I need it please somebody help me

4th Jul 2019, 2:39 AM
Erfan Ehsany
Erfan Ehsany - avatar
1 ответ
0
if it's okay that you'll have to press enter twice then I have an idea. Just put getch() between those two statements. cout<<"Hello World"; getch(); cout<<"goodbye"; Like this.
28th Jul 2019, 6:11 AM
Vratika Nagda
Vratika Nagda - avatar