Lecture 1: September 25, 2019

Reading: Shell text, §12, 23; [1–3]
Due: Homework #1, due October 7, 2019


  1. Greetings and felicitations!
    1. About the class
    2. About the book
  2. Logging in to CSIF
  3. Quick overview of compiling
  4. Example program 1: hello.c
    1. What is stdio?
    2. printf
    3. The function main
  5. Example program 2: fahr1.c
    1. Program (main, return or exit for main)
    2. Declarations (int, register int)
    3. Body (while, printf)

Handouts

  1. Compiling and Executing Your Program
  2. Quick Guide to UNIX
  3. vim Tutorial

UC Davis sigil
Matt Bishop
Office: 2209 Watershed Sciences
Phone: +1 (530) 752-8060
Email: mabishop@ucdavis.edu
ECS 36A, Programming and Problem Solving
Version of October 12, 2019 at 10:45AM

You can also obtain a PDF version of this.

Valid HTML 4.01 Transitional Built with BBEdit Built on a Macintosh