+ 1

Whats wrong with this code?

I want to make simple program that adds Integers in C language but this is showing error time limit exceeded https://code.sololearn.com/cOQOd7ku6SxP/?ref=app https://code.sololearn.com/cOQOd7ku6SxP/?ref=app

5th Nov 2018, 8:32 AM
chirag
chirag - avatar
4 Answers
+ 8
conio.h header file has become an obsolete file. Most compilers throw an error if this file is used. It was mostly used in Turbo C which is pretty old Compiler and cannot compile the newer C++ functionalities
5th Nov 2018, 11:29 AM
blACk sh4d0w
blACk sh4d0w - avatar
+ 5
You have used getch(); Which is defiened in headerfile conio.h. Usually i Use those conio.h when working in turboC for console input-output, but in sololearn you dont require that header file. So better to remove getch();
5th Nov 2018, 8:49 AM
Aaditya Deshpande
Aaditya Deshpande - avatar
0
Conio.h is only defined in turbo c ...,
27th Nov 2018, 5:40 PM
Marut Nandan
Marut Nandan - avatar