StackOverflow Questions for Tag: fgetc

Physina
Physina

Reputation: 31

Exact functionality of fgetc & fread unclear

Score: -1

Views: 79

Answers: 1

Read More
Lexus RX
Lexus RX

Reputation: 13

VS Code. File contents are not displayed in TERMINAL and OUTPUT

Score: 1

Views: 51

Answers: 1

Read More
user2587754
user2587754

Reputation:

Confusion with == EOF vs feof

Score: 14

Views: 11210

Answers: 5

Read More
Pepe Cuesta
Pepe Cuesta

Reputation: 1

function to return number of characters in n line of a file return always those of line 2 in c

Score: 0

Views: 45

Answers: 1

Read More
mazen mohamed
mazen mohamed

Reputation: 11

Why does this code print null characters and why does it find null characters in both files?

Score: 0

Views: 86

Answers: 1

Read More
Youssef Bouhdyd
Youssef Bouhdyd

Reputation: 1

fgetc reading file in C

Score: 0

Views: 57

Answers: 1

Read More
Xiangnan Zhang
Xiangnan Zhang

Reputation: 1

About fgetc() in C

Score: 0

Views: 65

Answers: 0

Read More
marbens
marbens

Reputation: 302

Does a character have to be casted to unsigned char before being compared to getc family returns?

Score: 3

Views: 158

Answers: 5

Read More
quench
quench

Reputation: 13

I'm trying to read text from a .txt file and count the amount of words in it using c

Score: 1

Views: 99

Answers: 3

Read More
Alpiinoo
Alpiinoo

Reputation: 11

fgets() waiting input for file write

Score: 0

Views: 91

Answers: 2

Read More
ubaabd
ubaabd

Reputation: 435

`fseek` issue when printing last $N$ lines to a file using C++

Score: -1

Views: 84

Answers: 1

Read More
muntasir mk
muntasir mk

Reputation: 11

Why do I need to add one more fseek() function in my code after fgetc() function?

Score: 1

Views: 33

Answers: 0

Read More
Xeke
Xeke

Reputation: 21

Program Segfaults in between 2 printf()'s

Score: -1

Views: 104

Answers: 1

Read More
jrandj
jrandj

Reputation: 175

C filling an array from a text file

Score: 0

Views: 6583

Answers: 4

Read More
user798774
user798774

Reputation: 413

How do I use sscanf to get names and print them out the way i want them to

Score: 3

Views: 939

Answers: 2

Read More
jjyj
jjyj

Reputation: 459

How to skip a line with fgetc in C

Score: 0

Views: 960

Answers: 0

Read More
Jeff Brower
Jeff Brower

Reputation: 96

C program inside docker container ignores fgetc(stdin)

Score: 0

Views: 104

Answers: 0

Read More
ouzz
ouzz

Reputation: 21

Unable to print the character 'à' with the printf function in C

Score: 0

Views: 119

Answers: 1

Read More
coconut crab
coconut crab

Reputation: 11

Storing mac addresses and device names listed in a text file into a struct array using C

Score: 1

Views: 121

Answers: 1

Read More
d3v-anaxa
d3v-anaxa

Reputation: 3

why does only the 1st file reading function executes over multiple programs of the same kind in C language?

Score: 0

Views: 55

Answers: 2

Read More
PreviousPage 1Next