Course Materials
syllabus
statement of ethics
Google search of this site
Links
source code for textbook
Standard C Library Wikipedia
Standard C Library functions elook.com
a collection of C links
How C Programming Works
Programming in C (Wikibooks)
Common C Programming Errors
Why C has pointers
A Tutorial on Pointers and Arrays in C
Everything You Need to Know about Pointers in C
How to Program in C++
C++ Tutorials
C++ Programming at Wikibooks
Exams and Practice Problems
practice problems 1
practice problems 2
practice problems 3
practice problems 4
practice problems 5
Homework
homework 1
solution 1
homework 2
solution 2
exam 1
homework 3
solution 3
generate_sales.c
exam 2
homework 4
solution 4
homework 5
sample results
solution 5
word-generator.cpp
Lectures
Review of Conditionals and Loops
example-dowhile.c
example-switch2.c
example-switch-todo.c
Arrays
example-array-initialize.c initialization of arrays
example-array_vs_var.c
example-array-function.c arrays as function parameters
example-array-function2.c arrays as function parameters
example-sizeof.c
Word Problems
example-percent-diff.c
example-cost-analysis.c
example-cost-analysis2.c
Strings
example-char-array.c creating arrays of characters
example-lowercase.c
Pointers
tutorial
example-pointers2pointers
example-pointers-basic2.c
example-pointers-function3.c
Pointers and Arrays
example-pointers-array7.c
example-pointers-array-2D-2.c
example-pointers-offsets.c
example-pointers-to-array.c
example-pointers-array-function-2D.c
Programs using pointers
example-matrix-multiplication.c
example-parse-paragraph.c
compare strings
subscript
pointer
mixture
example-sort-array.c
Standard C Library
example-library-math.c
example-library-strings.c
example-library-strings2.c
text
example-library-stdlib.c
example-library-time.c
General Input and Output
example-files-getc.c read/write file
example-files-putc.c write file
example-io-scanf.c
example-io-strings.c
example-io-strtok.c
example-io-files.c read/write file
example-io-files2.c write file
example-io-files3.c read file
example-io-files4.c read file
example-io-files5.c read file
gen-exam-latex.c
joinfiles.c added 6/25/08
searchfiles.c added 6/25/08
searchreport.c added 6/25/08
General examples of problem solving
calc-day.c
roundoff-num.c
datecheck.c
zigzag.c
months-bits.c
str2int.c
fibonacci.c added 6/25/08
Miscellaneous Topics
example-static.c
example-global.c
splitsrc.txt
Numerical Methods Examples
example-gj-civil.c
example-gj-electrical.c
linearfunctions.h
linearfunctions.c
example-gj-ee-ptr.c
example-simpsons-rule.c
Structures
example-structures.c
example-structures7.c structure and functions
example-structures8.c structure and functions
example-structures9.c structure and functions
example-structures10.c array of structures
example-structures11.c array of structures
example-structures12.c array of structures
example-structures13.c array of structures
example-structures15.c array of structures
example-struct-unique.txt
Dynamic Memory Allocation and Linked Lists
example-malloc-vs-calloc.c
example-malloc-array.c
example-malloc-linkedlist.c
example-linkedlist-search.c
added 7/15/08
Introduction to C++
example-class.cpp
example-class2.cpp
example-class3.cpp
example-class-array.cpp
example-cpp-io-files.cpp
example-cpp-io-files2.cpp
example-cpp-pointers.cpp
example-oo_vs_non.cpp
added 7/30/08
example-oo_vs_non2.cpp
added 7/30/08
Differences between C and C++
example-cpp-strings.cpp
example-cpp-references.cpp
example-cpp-exception.cpp
example-cpp-exception2.cpp
example-cpp-stl.cpp
example-cpp-stl2.cpp
example-cpp-streams.cpp
example-class4.cpp
added 7/24/08
example-class-struct.cpp
added 7/24/08
example-cpp-stl3.cpp
added 7/23/08
example-cpp-stl4.cpp
added 7/23/08
example-cpp-vector-return.cpp
added 7/24/08
C++: Polymorphism and Inheritance
example-cpp-strings2.cpp
Word.h
Word.cpp
example-cpp-exception3.cpp
example-polymorphism.cpp
example-polymorphism2.cpp
example-polymorphism3.cpp
example-inheritance.cpp
example-inheritance2.cpp
example-inheritance3.cpp
added 7/30/08
example-class5.cpp
added 7/30/08
|
|
News
| Monday, July 21, 2008 |
Assigned homework #5; it's due Wednesday, July 30.
|
| Monday, July 7, 2008 |
Assigned homework #4; it's due Wednesday, July 16.
|
| Sunday, July 6, 2008 |
Added link to Google search of this site; the link is near the top of the course materials section.
|
| Saturday, July 5, 2008 |
Added fourth set of practice problems.
|
| Monday, June 30, 2008 |
Assigned homework #3; it's due Monday, July 7.
|
| Monday, June 16, 2008 |
Assigned homework #2; it's due Monday, June 30.
|
| Wednesday, June 11, 2008 |
Added a schedule showing the office hours for the instructor, GTAs, and supplemental instruction. Reviewed for the first exam, which is next Wednesday.
|
| Wednesday, May 28, 2008 |
First day of class.
|
|