Translate

Wednesday, December 10, 2014

Widgets

Advanced OOP Programming 4th Assignment

Our fourth assignment for this class was about Structures. When you are using C arrays they allow you to define type of variables that can hold several data items of the same kind. C Structures is another user defined data type available in C programming, which allows you to combine data items of different kinds.
Structures are used to represent a record, so our assignment was to prompt the user to insert information. Which this assignment was essentially creating an address book. You would prompt the user to insert a name, address, city, zip, etc, and it would store it into a list / array. I set up mine to just store three, but that number could be changed to much much higher. I just did three to prove the point of the assignment. Enjoy some photos! :)