ECS 30 Study Guide - Final Guide: Memory Management, Entry Point, C String Handling

43 views4 pages

Document Summary

Practice final key ( 213 points) write a complete c program that reads information about a house, sorts the information by the area of the rooms, and then displays the information on the screen. Here are the specifications: on the command line the user will enter the name of the file that contains the information. If there are more command line arguments than required your program must notify the user, and then exit. If the file cannot be found then your program must notify the user, and then exit: the file has the following format: Lines 3 - 3 + number_of_rooms: num_of_windows:area:name of room