Using fgets in C (and why you shouldn't use gets)

preview_player
Показать описание
This video shows an example of how using gets can get you into trouble

0:08 - The initial program
0:52 - Getting user input using gets and causing all sorts of trouble because of it
3:04 - Doing it the right way using fgets
Рекомендации по теме