Originally Posted by
rstanley
The C Programming language was originally "designed" to create a usable version of UNIX, back in 1969/70.
Once the language was standardized by ANSI through the C89 Standard, and by the ISO, in C90, C99, C11, C17, and future Standards, it is "designed" to be used on ALL O/S's. It is the most universal programming language of all time, BECAUSE of these Standards!
There are quirks in all programming languages. It is up to the programmer to understand these quirks, and write code that can properly deal with these quirks.
The issues with getchar(), scanf() and others, are not limited to one or two O/S's! They work the same on ALL O/S / Standards complaint compiler combinations.
Also, resorting to (Windows based) conio.h functions as a crutch, is NOT the answer!