Search code examples
Off-by-one when counting words in dictionary...


ccs50fgetsoff-by-one

Read More
C standard: If `fgets` returns non-`NULL` but "encountered" end-of-file, will `feof` retur...


clanguage-lawyerfgets

Read More
Why does fgets() interpret a newline character at the end of a string as a standalone line?...


cnewlinefgets

Read More
fgets doesn't return NULL when it reaches to the EOF...


cfgets

Read More
Writing my own version of 'fgets()' in C...


cfilefgets

Read More
How to make C shell exit immediately on Ctrl+D (EOF) when the buffer contains text?...


clinuxshellfgetseof

Read More
How does fgets work when reading a file or stdin?...


cfgets

Read More
Getting trash reading files with fgets...


cfgets

Read More
fgets instructions gets skipped.Why?...


cscanffgets

Read More
carriage return by fgets...


cstringfgetscarriage-return

Read More
Edit: How many char does fgets consider from *stream, when passing to its char *str?...


cfgetsfeofferror

Read More
Removing trailing newline character from fgets() input...


cstringgccnewlinefgets

Read More
Is there an better/efficient way to keep asking for user input from STDIN using fgets() in C?...


cinputstdinfgetsgoto

Read More
Lines of text appended with unwanted newlines while using `fgets()` to read a file...


phpfgetstrailing-newline

Read More
behaviour of scanf vs fgets...


cfor-loopscanffgets

Read More
Check incomplete line in fgets()...


cfgetslibc

Read More
why does fgets() keep skipping last letter when I dont have an empty line at the end?...


cfgets

Read More
Scanf freezes after second inputs...


cscanffgets

Read More
Why does fgets() require a maximum size of user input? Is it because it does not have the "rest...


cc-stringsfgetsbuffer-overflow

Read More
Number index to array element...


arrayscfor-loopc-stringsfgets

Read More
In C, is input = fgets(input,sizeof(input),*pt) a mistake?...


cfgets

Read More
Does fgets() always terminate the char buffer with \0?...


cfgets

Read More
Printf before the select call isn't invoked while waiting for Stdin...


cprintfstdinfgetsposix-select

Read More
fgets() blocking when buffer too large...


cfgetsposix-select

Read More
Segmentation fault from fgets...


csegmentation-faultfgets

Read More
Why does registering a handler function for SIGHUP prevent clicking the "X" to close the X...


phplinuxsignalsfgetsxterm

Read More
Use input (stdin) in debug console VScode...


cdebuggingvisual-studio-codestdinfgets

Read More
Using fgets() together with strcmp() strcmp is not properly comparing...


cfgetsstrcmp

Read More
fgets that doesn't stop at spaces or linebreaks...


cfgetsuserspace

Read More
Why does fgets() accept (signed) int for its 'count' argument?...


arraysclanguage-lawyerfgets

Read More
BackNext