Compiler gives rte

c
compiler

#1

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.


#2

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");

#3

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


#4

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