c programs

some solutions to K&R exercises


Exercise 2-3 (but generalized for any base--and I forgot about the leading 0x)

base_to_dec.c

Exercise 3-3

expand.c

Exercise 3-4

itoa.c

Exercise 4-2

atof_extended.c

Exercise 5-7

linesort.c and linesort_local_buffer.c

Exercise 5-8

day_of_year.c

Exercise 5-10: Reverse Polish Calculator (command line args)

rp_calc.c


other stuff

calculator.c
get_stock_price.c
gfst.c
hangman.zip
journal_wizard.c
math_trainer.zip
memo_wizard.c
mt_trainer.c
multi_convert.c
my_journal.c
pman.c
printprimes.c
reports_wizard.c
s_shuffle.c
subsets_sum_to_w.c
tic_tac_toe.c
word_mill.c

word_mill also needs this list of words below, and word_mill.txt:

valid_words.txt
word_mill.txt