Simple C++ question
I'm curently trying to learn C++ and 1 of the exercises was to write a simple prog that counted words and vowels when typed in from the keyboard....... we were instructed to use a function called getche(). I used the bloodshed compiler on Windows and the prog compiled and ran ok at college, but when i tried to compile the same .cpp file at home using g++ on Redhat 9 , it wouldn't. Returned an error relating to getche() and the #include <conio.h> header file. This is probably way too easy for you experts but if you can help me I'd very much appreciate it!!
|