Homework #2
- Goal: Learning the concept of structures and how they are
used.
- Please send your homework (ZIP or RAR file) to TA at
cs101-ta@voip.edu.tw
- Deadline: 2008/3/16 11:00 AM
- Define a struct Sample that contains two integer data items. Write
a program which declares two object of type Sample, called a and b. Set
values for the data items that belong to a and then check that you can
copy the values into b by simple assignment.