knking.com -- Programming Language Books and Training

 C C++ Java

Books by K. N. King

Home
Books by K. N. King
Short courses
Recommended books
Recommended links
FAQ

C Programming: A Modern Approach (Second Edition)

Programs

Chapter 1 – Introducing C

Chapter 2 – C Fundamentals

pun.c (page 10)
dweight.c (page 20)
dweight2.c (page 23)
celsius.c (page 24)

Chapter 3 – Formatted Input/Output

tprintf.c (page 40)
addfrac.c (page 46)

Chapter 4 – Expressions

upc.c (page 57)

Chapter 5 – Selection Statements

broker.c (page 81)
date.c (page 89)

Chapter 6 – Loops

square.c (page 102)
sum.c (page 103)
numdigits.c (page 105)
square2.c (page 110)
square3.c (page 110)
checking.c (page 115)

Chapter 7 – Basic Types

sum2.c (page 131)
length.c (page 142)
length2.c (page 142)

Chapter 8 – Arrays

reverse.c (page 164)
repdigit.c (page 166)
interest.c (page 169)
deal.c (page 173)
reverse2.c (page 174)

Chapter 9 – Functions

average.c (page 185)
countdown.c (page 186)
pun2.c (page 187)
prime.c (page 190)
qsort.c (page 207)

Chapter 10 – Program Organization

guess.c (page 224)
guess2.c (page 226)
poker.c (page 233)

Chapter 11 – Pointers

maxmin.c (page 250)

Chapter 12 – Pointers and Arrays

reverse3.c (page 264)

Chapter 13 – Strings

remind.c (page 294)
planet.c (page 304)

Chapter 14 – The Preprocessor

Chapter 15 – Writing Large Programs

word.h (page 361)
line.h (page 362)
justify.c (page 363)
word.c (page 363)
line.c (page 364)

Chapter 16 – Structures, Unions, and Enumerations

inventory.c (page 391)
readline.h (page 395)
readline.c (page 395)

Chapter 17 – Advanced Uses of Pointers

remind2.c (page 418)
inventory2.c (page 434)
tabulate.c (page 444)

Chapter 18 – Declarations

Chapter 19 – Program Design

stack.h (page 488)
stack1.c (page 488)
stack2.c (page 489)
stackclient.c (page 494)
stackADT.c (page 495)
stackADT.h (page 496)
stackADT2.h (page 498)
stackADT2.c (page 498)
stackADT3.c (page 500)

Chapter 20 – Low-Level Programming

xor.c (page 515)
viewmemory.c (page 521)

Chapter 21 – The Standard Library

Chapter 22 – Input/Output

canopen.c (page 547)
fcopy.c (page 568)
invclear.c (page 574)

Chapter 23 – Library Support for Numbers and Character Data

tclassify.c (page 613)
tcasemap.c (page 615)

Chapter 24 – Error Handling

tsignal.c (page 634)
tsetjmp.c (page 636)

Chapter 25 – International Features

Chapter 26 – Miscellaneous Library Functions

tnumconv.c (page 684)
trand.c (page 687)
airmiles.c (page 690)
datetime.c (page 700)

Chapter 27 – Additional C99 Support for Mathematics

quadratic.c (page 723)

Google
 
Web knking.com

Copyright © 1999-2008 K. N. King. All rights reserved.