This is the code that I have played with in each class. Obviously it is only the final version of the code that resulted from all the things that were tried in class.
f13ex25c.c
f13ex26.c
Final examples of sorting linked lists by name and by hours worked after creating
list as sorted in order by ID number -- 25c.c doesn't fully work but 26 does
f13ex25.c
f13ex25a.c
f13ex25b.c
peoplefileA.txt
Dec 3 examples
Sorted Singly linked list
and
Bubble sort of ll (--25b.c file) and
File input (--25a.c file completed after class)
f13ex24.c
f13ex24a.c
Nov 26 examples
Dynamic memory allocation
Singly linked list
Other example code for
File input and
Linked list
This is not a complete program so it probably won't compile as is
test15f.c
This is an example of an input data file
test13datab.txt
f13ex23.c
f13ex23a.h
Nov 21 examples
Scope and storage class
Abstract data type examples - stack, queue
f13ex22.c
Nov recursion examples
Merge sort code examples
f13ex21.c
Nov 15 recursion examples
Merge sort examples
f13ex20.c
Nov 13 recursion examples
Binary search examples
f13ex19.c
Nov 9 recursion examples
Pyramid printing examples
f13ex18.c
Nov 6 recursion examples
Factorial and Fibonacci examples
f13ex17.c
Nov 2 function examples
Using arrays of structs and putting data into the members of the structs
f13ex16.c
Oct 24 function examples
Defining struct types, declaring struct variables, using structs
writing a utility function, initializing a struct, declaring an array of structs
f13ex15.c
Oct 22 function examples
Strtok, switch control structure, while loop, beginning of structs
Tokenizing a list of numbers
../../fall12/classex/l3v2.c
Code to use for building Lab 3 room names with number appended
Also code for pulling the numbers back out of the names
f13ex14.c
Oct 17 function examples
String functions; strtok and more pointers
Tokenizing a sentence or a list of numbers
-- Tokenizing numbers completed after class
f13ex14a.c
f13ex13.c
Oct 15 function examples
String functions and intro to pointers; strlen, strcpy, strcat
f13ex12.c
Oct 10 function examples
Bubble sort and linear search function
f13ex11.c
Oct 5 function examples
Sorting - bubble sort
f13ex10.c
f13ex10a.c
Oct 1 function examples
Multi-dimensional arrays; Searching - linear search
f13ex9.c
f13ex9a.c
Sept. 26 function examples
Multi-dimensional arrays, printing tables, reading and storing words
f13ex8.c
Sept. 24 function examples
Passing arrays and values to functions and printing strings
f13ex7.c
Sept. 19 function examples
Strings in C, reading and using a user's input choice
f13ex6.c
Sept. 17 function examples
C control structures
f13ex5.c
Sept. 10 function examples
Logical operators, reading input, arithmetic operators, function calls
f13ex4.c
Sept. 5 function examples
Control structures in C
f13ex3.c
Sept. 3 function examples
Input, output, parameter passing
f13ex2.c
Aug. 29 function examples
f13ex1.c
Aug. 27 function examples