You should NEVER, ever – no, really, NOT EVER – use C’s scanf() function. Why not? After all, scanf() makes it really easy to read all kinds of data from the system prompt, doesn’t it…? I’ve had programming students tell me that they use scanf() all the time. Aaaaarrrrrgggghhhhh!!!! That’s the stuff of nightmares! scanf() is terrible. Arguably the worst function in all of C. Though, to be honest, there are some other pretty nasty functions too. Even so, scanf() is certainly one of the nastiest. In this lesson, I explain why. To follow the course in order, bookmark the playlist PROGRAMMING BOOKS ==================== If you want to learn C in more depth (and also support this channel!) you might think of buying one of my books. I have written books on C programming, Using Pointers in C, Recursion and other programming topics. *** The Little Book Of C Programming *** Amazon (US) Amazon (UK) GET THE SOURCE CODE ================================= Download the source code of the projects in this course (the archive for “The Little Book Of C”) from: FIND “CODE WITH HUW” ON FACEBOOK: ================================= Good luck! And good programming!











