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

48 views2 pages

Document Summary

Ecs 30: ( 218 points) write a complete c program that reads information about a house, sorts the information by the area of the rooms, and then displays. Practice final key: output of the program should closely match the sample below. 300. 5 2 living room 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: Num_of_windows:area:name of room