
gets () function in C - Stack Overflow
Dec 3, 2010 · The Early Bug gets () the Internet Worm The problems in C are not confined to just the language. Some routines in the standard library have unsafe semantics. This was dramatically …
C - scanf () vs gets () vs fgets () - Stack Overflow
Jul 10, 2015 · And the difference between gets/scanf and fgets is that gets(); and scanf(); only scan until the first space ' ' while fgets(); scans the whole input. (but be sure to clean the buffer afterwards so …
c - gets () does not work - Stack Overflow
Oct 1, 2009 · I have a program written in C and it calls gets() from a switch when a user chooses the option of 3. Here is my code. It does not seem to wait to wait for the user to input something. Rather …
Какая разница между puts и printf или gets и scanf?
Apr 21, 2017 · puts выводит переданную строку и символ новой строки, а printf - генерирует выводимую строку на основании строки формата и дополнительных данных. Если коротко. …
Why was the gets function removed instead of just changing its ...
Jun 20, 2025 · 2 Why was the gets function removed instead of just changing its signature? At least in part because removing gets() from the language specification does not mean that implementations …
c - puts (), gets (), getchar (), putchar () function simultaneously ...
Feb 23, 2021 · I have a confusion related to using puts(), gets(), putchar() and getchar() simultaneously use in the code. When I have run the below code, it is doing all steps: taking the input, printing the …
What's the difference between gets and scanf? - Stack Overflow
Oct 28, 2014 · gets - Reads characters from stdin and stores them as a string. scanf - Reads data from stdin and stores them according to the format specified int the scanf statement like %d, %f, %s, etc.
Como usar gets () no C++? - Stack Overflow em Português
May 30, 2015 · Como usar gets() no C++, ao se pedir para o digitar e armazenar numa variável tipo char?
Why is gets() not consuming a full line of input? - Stack Overflow
Nov 20, 2022 · I'm trying to use gets() to get a string from the user, but the program seems to be passing right over gets(). There is no pause for the user to give input. Why is gets() not doing …
c++ - проблема с функцией gets () - Stack Overflow на русском
Jan 2, 2018 · Это не тот код - по ссылке у вас fgets, а не gets! Вы случаем не Visual C++ 2015 или 2017 компилируете? Если заменить fgets на gets - да, эти компиляторы не компилируют - …