Getch() please help | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

Getch() please help

#include <iostream> #include <conio.h> using namespace std; int main() { cout <<"hello world!"; getch(); return 0; } Why does the output always prints time limit exceeded?

23rd Dec 2016, 4:11 PM
Nathan
Nathan - avatar
1 Resposta
+ 4
what is ur compiler?? where r u running ur code. getch() waits until u provide a character in input. so might be because u r not entering any characteršŸ¤” give me more detail may be i can help
23rd Dec 2016, 4:40 PM
manish rawat
manish rawat - avatar