Why C standards contain many unsafe functions, which are useless (in good programs them don't use) and harmful, for example getchar
? Why C standard doesn't contain instead of them the useful functions, for example getch
, and getche
? It is only one of many examples...
UPD
I confused: gets
instead of getchar
.