Week0 Introduction
Week0 Introduction
Hugh C. Lauer
Adjunct Professor
(Slides include materials from The C Programming Language, 2nd edition, by Kernighan and Ritchie and
from C: How to Program, 5th and 6th editions, by Deitel and Deitel)
• Computers
• WPI CS Curriculum
• Instructor
• Students
– Expected Background
– Going Forward
– Your Future
Large
CS-2303, C-Term 2010 Introduction 5
CS2303 Course Objectives
Pointers!!
• Contains:– You
on ar e r
th e es p
• Syllabus c our onsib
se
we le for
• General overview bs
ite every
ing th
• Rules and expectations
• All lecture notes
• All programming and lab assignments
•…
CS-2303, C-Term 2010 Introduction 7
Course Operation/Expectations (continued)
• 2 Exams
• Mid-term:– week of Feb 8 (approx)
• Final:– March 5
• Exams:– ~40%
og ra
r
on P course
ades this T As
r d
t ory g pass o r an
is fac red to f ess
t
Sa requi Pr o
he
are t hat t
r est
r inte re!
in you you a
It is w2010
CS-2303, C-Term
who Introduction 9
kno
Course Plan and Syllabus
• Approx 50% C, approx 50% C++
• To cover the details of C briskly.
– Assume an understanding of iteration and
conditional constructs — similar to Java
• To introduce data structures in C via
• Arrays and pointers (very different from Java).
• Structs and unions
• {Note - reading of the textbook will require
jumping around during the C portion of the
course.}
CS-2303, C-Term 2010 Introduction 10
Required Textbook
Standard Steps
1. Edit
2. Preprocess
3. Compile
4. Link
5. Load
6. Execute
• In the beginning …
• Machine language Really primitive!
• Assembly language Too difficult for big projects
– One line per machine instruction