Computer Science 240

Introduction to C/C++

Instructor:      Daniel Thureen

Office:             Iv 234L
Phone:             299-3376
E-Mail:            thureen@cord.edu
Hours:             1:20 – 2:30 MWF
Other times by appointment or discovery

Purpose:         This course provides an introduction to C++ programming for students who have already learned Java language. Programs in Java and C++ share a superficial resemblance to each other, but beneath the surface there lies a myriad of practical and philosophical differences.

Text:               C++ For Java Programmers by Timothy Budd
Addison Wesley, 1999    ISBN: 0-201-61246-1

Tentative Schedule:

Date

Topic

Reading
Click link for Power Point slides

10/29

Java vs C/C++ Philosophical Differences

Chapter 1

11/3

Basic Data Types

Chapter 2

11/5

Pointer and References

Chapter 3

11/10

Memory Management

Chapter 4

11/12

Class Definition

Chapter 5

11/17

Input/Output

Chapter 10

11/19

Exam 1

11/24

Polymorphism
Operator Overloading

Chapter 6
Chapter 7

12/1

Characters and Strings

Chapter 8

12/3

Templates and Containers

Chapter 9

12/8

Exception Handling

Chapter 11

12/10

Features found only in C/C++

Chapter 12

12/15

Features found only in Java

Chapter 13

12/16

Exam 2 – Tuesday 12/16 – 11AM

 

Assignments

At the end of each chapter is an extensive list of questions and problems. Regular daily work will consist of a selection from this list, similar ones of my own, or programming projects. The problems are not meant to be a team effort but your own individual work, however the programming projects may be done in teams of 2 or 3.

Evaluation

Exams                                                 - 200 points
Daily assignments & projects              - 200 points total (approx)
Misc.                                                   - 50 points

In order to allow a bit of flexibility, each student will be given 10 days of “free grace” for the course which may be applied to the assignments as desired. After these grace days are used up any late work will be docked 10% for each school day late. All grace expires the first day of final exams.

The exams will be given only at the time specified on the schedule. Exceptions can be made in case of real emergencies but must be arranged and approved in advance.

It is expected that all work done for this class will be your own work. Sharing ideas is encouraged but copying problems or programs where not specifically authorized is a form of plagiarism and will result in a zero for that assignment and possible disciplinary action by the college.