I'm trying to hold the screen on my output using the header file <iostream.h>
, but I don't know any equivalent function to the getch()
& clrscr()
functions of <conio.h>
in <iostream.h>
or any other C++ library. Are there any such functions?
if you work on windows you can use system("pause"), this will give you "press any key to continue" message.