Compiler gives rte

i am using dev c++ compiler .but even a single programm is not running without writtig conio.h and getch().i when i submitted my prograam with conio.h and getch().it is said that runtime or compiler error because no such file available like conio.h.

it depands on platform you are using

on turb c++ borland conio.h used for getch() ,clrscr() and many functions

but on linux machine gcc/g++ compiler conio will not work

if you want to use clrscr() on linux then follows

system("clear");

just a note: compiler cannot return runtime exception for your program, it doesn’t run it…

good hint, but no-one should use clrscr() in contests, it’s useless…

1 Like