ICS Programming Class

Class meeting time: Fridays 11:00 AM

Class 7, Friday, June 12, 1998

General: command line parsing using argc and argv, pointer arithmetic Library Functions: fopen(3S), fclose(3S), fseek(3S), ftell(3S).

Assign Programming Assignment #4

Class 6, Friday, June 5, 1998

Data Types: more work with pointers
Library Functions: string.h functions, strcat(3C), strcpy(3C), strdup(3C), strpbrk(3C), strrchar(3C).

Class 5a, Friday, May 29, 1998

Class cancelled, reviewed subjects from Class 5

Class 5, Friday, May 22, 1998

Cpp: conditional evaluation
Make: -I<include_dir>, -L<library_dir>, -l<archive_library>
Dynamic memory allocation: malloc, calloc, free
Data types: typedef, structs
Comments: /*, //, #ifdef
Programming style:

Assign Programming Assignment #3

Class 4, Friday, May 15, 1998

Review of Programming Assignment #2.
Flow Control: switch, expression evaluation. break, continue.
Programming sequence: cpp, writing, compiling and linking Solutions to programming assignment #2 combined

Class 3, Friday, May 8, 1998

Review of Programming Assignment #1.
Flow Control: expression evaluation, more details on for, while loops. stdio.h: EOF definition Functions and Subroutines: Calling, existing in separate source files, prototyping. Variable scope. Passing variables by value or reference. Makefiles: multiple targets, .c.o rules. Specifying targets.
Assign Programming Assignment #2

Class 2, Friday, May 1, 1998

Control Structures: if, else if, else. for, while and do while loops.
Statements: Simple and Compound ({}'s).
Assign Programming Assignment #1
Solutions to programming assignment #1 Makefile and the source code hw1.c

Class 1, Friday, April 24, 1998

Introduction: Basic concepts and principles of make files, source files, object files and executable files. main() routine. Basic compiling and linking sequences. Data types.