hi
i really need help with an ADT.
program to keep track of a real estate company's residential listings. The program needs
to input and keep track of all the listing information, which is stored in a text file. The real estate
sales people must be able to perform a number of tasks using this data: add or delete a house
listing, print the information about a specific house. And the search a house by city,. price range,
and square feet. In addition the program allows buyers to give offers to a desired houses. And
the owner of the houses can print a list of current offers.
Let's assume that the house information includes
● House ID,
● Owner's names,
● Street address,
● City,
● price,
● number of square feet,
● number of bedrooms.
● Year
Your program must allow the real estates people to
● Add a new house listing
● Delete a house listing
● Print a house information
● Search a house listing by
● City
● Range of price
● Range of square feet
Your program also allows buyers to give offers to their desired houses. The user should enter
the following information for each offer:
● House ID
● Buyer's name
● Offer price
Each house should maintain an array of offers. And you can assume that each house will not
accept more than 5 offers. You should use array lists for this program.
please this is a big program, i know the homework policy and i don't expect anyone to do my work for me.
i just need help with
- an example of how the required data should look like within the text file ( how it should be formatted)
it asks that the house id, owner name, street address, state and others should be contained within a text file. i have never done this before as generally i always do
struct House{
int ID;
char state[2];
} you get the idea
- also if you don't mind how would i write the access, function and modifier functions. i am finding this hard as i would have to do this to the file. if you could please give me a general idea, a rough idea of how my program should look like
i would really appreciate any help. thanks.