Lecture 9: April 30, 2024

Reading: zyBooks text, §10, 12.3, 8.5
Assignments: Homework 2, due May 6

  1. Recursion
    1. String length [rstrlen.c]
    2. Sorting [sort.c]
    3. Ackermann’s function [ack.c]
    4. Indirect recursion: counting [pr1ton.c]

  2. Command line arguments
    1. Integer, pointers to arguments (which are in turn strings) [echo.c]
    2. Handling options [getopt.c]

  3. String functions
    1. String manipulation [strings.c]

UC Davis sigil
Matt Bishop
Office: 2209 Watershed Sciences
Phone: +1 (530) 752-8060
Email: mabishop@ucdavis.edu
ECS 36A, Programming & Problem Solving
Version of April 30, 2024 at 12:50PM

You can also obtain a PDF version of this.

Valid HTML 4.01 Transitional Built with BBEdit Built on a Macintosh