Lecture 19: November 6, 2019
Due
: Homework #3, due November 8, 2019
Greetings and felicitations!
Homework 3: submit through Gradescope
Gradescope uses the same system as the CSIF; use
-ansi -pedantic -Wall
when you compile
For this assignment, what you get in Gradescope for the programs is the score for those problems
Homework 2 is reopened until Wednesday so you can fix things that you lost points for on homework 1
Parallel arrays and arrays of structures
Show parallel arrays to sort planets in order of diameter (
planets1.c
)
Show same program using structures (
planets2.c
)
typedef
Using
sizeof
to get size of an array
Matt Bishop
Office: 2209 Watershed Sciences
Phone: +1 (530) 752-8060
Email:
mabishop@ucdavis.edu
ECS 36A, Programming and Problem Solving
Version of November 15, 2019 at 9:39PM
You can also obtain a PDF version of this.