Outline for May 14, 2025

Reading: C Notes text, §20; zyBooks text §9
Assignments: Homework #3, due May 14, 2025

  1. Standard I/O library
    1. stdio.h
    2. FILE *
    3. Full, line, buffering; unbuffered
    4. Moving around in a file fseek, ftell, fgetpos, fsetpos [stats.c, stats2.c]

  2. Time
    1. Number of seconds since the epoch (January 1, 1970, at 12:00:00am UTC)
    2. Getting it using time, ctime, localtime, gmtime [tick.c]

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 May 15, 2025 at 10:14AM

You can also obtain a PDF version of this.

Valid HTML 4.01 Transitional Built with BBEdit Built on a Macintosh