Lesson 1: It's Nice to C You
Outline:
- Welcome!
- The C programming language
- first introduction:
hello.c
- handling command-line arguments:
args.c
- there are more samples available for you to try out
- first introduction:
- Course logistics
- resources:
- Course website: most information will be available here
- Moodle: assignment submissions, gradebook
- Slack: questions, announcements
- policies:
- we’ll discuss the policies in the Syllabus more Wednesday and Friday
- assignments: approximately weekly, first one due Thursday night
- resources:
- Working with C
- Unix/Linux and
mantis.mathcs.carleton.edu
(see the Resources page for extra help) - VS Code
hello.c
andargs.c
, revisited- file I/O:
character_counter.c
- Unix/Linux and
- Next steps
- complete Lab 1: using VS Code and
mantis
– do this today! - execute samples on
mantis
- read the first assignment
- explore the next few samples
- complete Lab 1: using VS Code and
Reading assignment (to be completed by the next class):
- Assignment 1: Starting C
- Binky Pointer Fun Video C (video by Nick Parlante)
Optionally, take a look at The 5-Minute Guide to C Pointers by Dennis Kubes. If you don’t read this now, return to it in a few days. Some of it won’t make sense until later this term, but it’s still valuable.