Well I've been using Turbo C++ for quite a while. Then after finding out its quite obsolete, i switched to GCC compiler with Code::Blocks IDE. I recently found out that conio.h is not a standard library. Unfortunately I use getch() function quite a lot for preventing echoing the input on the screen and other purposes, which is under conio.h. Can anyone tell me an alternate to getch() with similiar function which falls under a standard library.
Just continue to use getch() and do not worry about being non standard, all modern windows compilers support it. (MinGW and Visual Studio have conio.h header).
Well modoran, I use Code::Blocks IDE with GNU GCC compiler. I wrote the code in it with a few changes though. After building it there is an error saying-
error:'getch' was not declared in this scope.
Also is there strcmpi is not working. It says-
cannot convert 'std::string {aka std::basic_string<char>}' to 'const char*' for argument '1' to 'int strcmp(const char*, const char*)'|... Please Help.