I have started programming in C a few years ago. The two most commonly used header files were <conio.h>
and <stdio.h>
. All my favourite functions for clearing the screen clrscr()
the infamous getch()
function from stopping the window from terminating after it completes etc.
A few years later after I've attended a class regarding programming languages and practices, I've been asked to refrain from using the conio.h
header file. Is using conio
a bad practice in modern programming? What's the reason? why are people so anti-C against using the good old C libraries?