Slides.Readme, Teofilo F. Gonzalez UCSB

This material may only be used for UCSB CMPSC 60 Spring 2010 and you may print the slides for that purpose. The material is Copyrighted and may not be distributed withiout the consent of Prof. Gonzalez.

HW1 Description
Sample Program
Sample input file 1
Sample output file 1 (for input file 1)
Sample input file 2
Sample output file 2 (for input file 2)
HW2 Description

HW 3 (Description)
hw3.c
Sample Input hw3
Sample Output hw3 (NOTE THAT THE SAMPLE OUTPUT DOES NOT CORRESPOND TO THE SAMPLE INPUT
Sample Output 2 for hw3 (NOTE THAT THE SAMPLE OUTPUT Corresponds to the printed input, but the number of moves might not be right.

Example of Makefile
Another Example of Makefile
Old slides about Makefile

HW 4 (Description)
Sample code for hw4
Sample Input hw4
Sample Output hw4 (CORRESPONDS TO THE SAMPLE INPUT. Remember that you need to mimic the output format pattern)
Sample code for the main function

HW 5 (Description)
HW 5 (Sample input/output files)

HW 6 (Description)
Sample code for main and classes
Sample input
Sample output
Sample code to access itl fields

HW 7 (Description)
Sample input
Sample output
Sample input 2
Sample output 2
Sample input Tie
Sample output Tie

HW 8 (Description)
Example
Classes and sample main
Sample input
Sample output

Introduction (updated 2009)
History (updated 2009)
Data Types (updated 2009)
Printf/Scanf ( 2009)
Operators ( 2009)
Control Statements ( 2009)
Functions ( 2009)
Variables (Scope) ( 2009)
Arrays and Structs ( 2009)
Memory ( 2009)
Pointers ( 2009)
More on functions ( 2009)

Introduction to C++ ( 2009)
Misc.C++ ( 2009)
Classes ( 2009)
More on Classes ( 2009)
Lect 17 ( 2009)
Lect 18 ( 2009)
Lect 19 ( 2009)
Lect 20 ( 2009)

Old Quizzes and Mid-term

  • Example using classes of how to