Summer I 2001


Instructor

Nathan Hull

MTWTh 1:30 — 3:05 Rm. 102 WWH

Office phone: 998-3152 Rm. 423 WWH

Office Hours: TW 3:15 — 4:15

email: nathan@cs.nyu.edu


Important dates


Course Materials


General Outline

1. Computers & Programming Planning

Chapter 1. History of C and computer languages. Pseudocode and Top down design will be stressed. Examples from different fields will be discussed.

2. An Introduction to C

Chapter 2. "Hello, World!" and simple C programs. MAIN(). Integer Variables. Memory Concepts. Introduction to Relational Operators. Basic I/O.

3. The Visual C++ Compiler

Using a "Win32 Console Application" project. The Windows environment. Basic Debugging techniques.

4. Structured Program Development

Chapter 3. Structure of the IF and IF/ELSE statements. The White Repetition Structure. Basic algorithms including accumulators and counters.

5. Program Control

Chapter 4. Further Program Control. FOR Repetition Structures. Switch Multiple-Selection Structure. DO/WHILE Repetition Structure.

6. Functions in C

Chapter 5. Program Modules in C. Math Library Functions and programmer-written functions. Introduction to the Microsoft MFC (Microsoft Foundation Class) and the AppWizard.

7. Arrays

Chapter 6. Declaring arrays. Simple Bubble Sorts


General course information

The homework will consist of programming assignments. There will be at least one programming assignment per week. They must be done on a PC using Microsoft's Visual C++ compiler (version 6.0). All programs are to be submitted via email to your "E-Tutor". Information on how to do this will be given to you at a later date. Note that if you do not submit the programs, you cannot pass the course.

Please buy a few high-density disks. All programs should be saved on both on your primary disk and backed up on a second disk for your protection.

There will be a midterm and a final. Your grade will be 20 percent midterm plus 40 percent final plus 40 percent homework.

There is a home page for this course available on the World Wide Web which you should read daily. Your assignments will be posted on the class page, as well as the examples which we will do during class time. You can reach it through the Computer Science Web Site at:

http://cs.nyu.edu

or directly by typing:

http://cs.nyu.edu/courses/summer01/V22.0002-001/index.htm

If you do not already have one, you should obtain a Unix (IS) account from ITS by applying at one of the labs. Shortly, we will show you how to subscribe to the class Majordomo mailing list.

In addition to the textbook which is written about standard ANSI C, you may wish to buy a book which describes the Visual C++ compiler (Version 6.0). There are many books written about Visual C++, but two reasonable books are:

1) Microsoft Visual C++ 6.0 Programmer's Guide by Beck Zaratian, Microsoft Press, 1998 ISBN 1-57231-866-X

2) Sams Teach Yourself Visual C++ 6 Online by Jeff Kurtz and Jerry Kurtz, Sams Publishing, 1999 ISBN 0-672-31666-8