Your problem is using a non-standard header file and function (google getch()), this was invented for DOS and only supported by certain compilers. Try using one of the standard input functions and get rid of conio.h if you want to compile it on the N900.