I was looking around how to accept input from the keyboard,and I read that certain functions like getchar,gets or scanf are good for small programs to teach you a basic overview on programming,but then they also state that they aren't a very good choice,and there are better ways to do it.
What I'm asking is what are those ways?