Outline for April 14, 2025

Reading: zyBooks text §2.10, 2.14–2.15, 5, 8.1–8.2
Due: Homework #1, due April 14, 2024


  1. C arrays and strings
    1. Strings as arguments to functions [strcpy.c]
    2. Various idioms [strings.c]

  2. Math library [mhodge.c]
    1. How to compile: do not forget the –lm!
    2. floor, ciel, fabs, fmod, modf
    3. Logarithms: log10, log, exp
    4. Powers: pow, sqrt
    5. Trigonometry: sin, cos, tan
    6. Inverse trigonometry functions: asin, acos, atan, atan2

UC Davis sigil
Matt Bishop
Office: 2209 Watershed Sciences
Phone: +1 (530) 752-8060
Email: mabishop@ucdavis.edu
ECS 235B, Foundations of Computer and Information Security
Version of April 16, 2025 at 11:23AM

You can also obtain a PDF version of this.

Valid HTML 4.01 Transitional Built with BBEdit Built on a Macintosh