Search code examples
getting a stream of -1 when I pass EOF in an infinite getchar printf loop...

cprintfgetcharkernighan-and-ritchieputchar

Read More
Why do I get a SEGFAULT when I try to sort an array of integers using K & R code examples?...

csortingvoid-pointerskernighan-and-ritchie

Read More
How to prevent blank lines and remove extra spaces in C word-per-line output?...

cif-statementinputoutputkernighan-and-ritchie

Read More
How to simulate an EOF?...

ceofgetcharkernighan-and-ritchie

Read More
Triggering EOF From Keyboard Input (Terminal)...

cclioneofansi-ckernighan-and-ritchie

Read More
What's wrong with this quick sort?...

cquicksortkernighan-and-ritchie

Read More
What does char * argv[] mean?...

carrayspointerskernighan-and-ritchie

Read More
Signal EOF in mac osx terminal...

ckernighan-and-ritchie

Read More
Histogram of the length of words exercise hint?...

ckernighan-and-ritchie

Read More
What function is K&R exercise 2-6 really asking for?...

kernighan-and-ritchie

Read More
"Bit-fields are assigned left to right on some machines and right to left on others"- unab...

ckernighan-and-ritchie

Read More
Are typedef declarations for bare function types (ie: not function pointers) legal in C89/C90?...

clanguage-lawyerfunction-pointerstypedefkernighan-and-ritchie

Read More
Is it really legal for K&R to write "PFI strcmp, numcmp;" where PFI is typedef'd a...

cfunction-pointerstypedefkernighan-and-ritchie

Read More
Explain this implementation of malloc from the K&R book...

cpointersmemory-managementmallockernighan-and-ritchie

Read More
The validity of casting in the 'function pointer' version of K&R's qsort...

ccastinglanguage-lawyervoid-pointerskernighan-and-ritchie

Read More
Alternative (K&R) C syntax for function declaration versus prototypes...

cfunctionfunction-declarationkernighan-and-ritchiefunction-definition

Read More
RPN in "The C Programming Language" book 2nd edition section 4.3, numbers not being pushed...

ckernighan-and-ritchierpn

Read More
Why did K&R2 not initialize pointers to NULL?...

ckernighan-and-ritchie

Read More
Why doesn't this while loop go on forever? Beginner C question...

ckernighan-and-ritchie

Read More
Why does this code work but the other version does not?...

cloopskernighan-and-ritchie

Read More
Putchar and Getchar in C...

cgetcharkernighan-and-ritchieputchar

Read More
K&R Exercise 1-20 The Programming Language 2nd edition...

ckernighan-and-ritchie

Read More
Writing multiple lines of text to an array in C...

arraysckernighan-and-ritchie

Read More
Have the code examples from K&R ever been conforming?...

clanguage-lawyerc99c89kernighan-and-ritchie

Read More
Why do I get this error: Conflicting types for getline...

ckernighan-and-ritchie

Read More
Doubts in K&R edition 2...

cc89kernighan-and-ritchie

Read More
K&R Quicksort issue...

cqsortkernighan-and-ritchie

Read More
Why is it valid for the function to pass out a pointer in this K&R example?...

cpointerskernighan-and-ritchie

Read More
"extern" inside a function?...

c++cglobal-variablesexternkernighan-and-ritchie

Read More
bit count function in K&R...

cbit-manipulationbitkernighan-and-ritchie

Read More
BackNext