Structures
Structures. C and Data Structures Baojian Hua bjhua@ustc.edu.cn. Why need “ Structure ” ?. So far, we ’ d discussed two kinds of data: Simple: char, int, long, double, etc. Scalar: array, pointer, etc. It ’ s inconvenient in some applications: See next slides for an example. Example.
515 views • 49 slides