![]() |
|
#1
|
|||
|
|||
Please, This is Difficult question try for me!The city administration has 3 department that are administration and planning, Management and Human resource. The human resource department needs to implement the system in to computerized form. Suppose when the human resources hire a new employee, the employee has the following information.
Personal information: full name, ID, age, sex, birthday [year/month/date] Academic information: status [i.e. certificate, diploma, degree, master and likes], salary. Educational background: elementary, secondary and territory school Reference: reference name and relation. A. Write a program that read personal and academic information from input device where personal and academic information are in separate structure and access personal information using academic structure object and display the information in output device. B. Add a function store_onto_file (parameters) on question A and write c++ function that store the above inputs accepted from input device and store on the file “employee.dat”. C. Add a function read_from_file (parameters) on question A and write a c++ function that read employee information from the file “employee.dat” and display on screen. D. Add a function search_record (parameters) A, and write c++ function that you want to search record from “employee.dat” either by employee id or name. E. Add a function display_salary (parameters) on question A and write a c++ function that sort the content of file “employee.dat” in ascending order [A-Z]. F. Add a function display_slary (parameters) on question A and write a c++ function that read salary from “employee.dat” and copy into array A [] and sort the content of array in descending order [Z-A]. G. Add a function update_record (parameters) on question A and write a c++ function that updates a specific record on the file “employee.dat”. H. Add a function delete_record (parameters) on question A and write a c++ function that delete a specific record from the file “employee.dat”. and delete the file “employee.dat” it self from the computer. |
|||
|
#2
|
|||
|
|||
Re: Please, This is Difficult question try for me!Quote:
|
|
#3
|
|||
|
|||
Re: Please, This is Difficult question try for me!Hello there, I have ask u becouse I have no Idea about the question! please if you have soft copy material send me or do the first question(A) to be hint for me!!!
|
|
#4
|
|||
|
|||
Re: Please, This is Difficult question try for me!Quote:
CPP / C++ / C Code:
In general, support sites like this work best when we help people find/learn how to answer the questions themselves as opposed to writing code for them. Usually assignments build on the concepts covered in class, so if you have attended, taken notes, & done the previous assignments, breaking this assignment into smaller portions should not be so overwhelming. This assignment is obviously not the first received in the course, so previous assignments should have covered the basics of control logic, file I/O & functions. |
|
#5
|
|||
|
|||
Re: Urgent Please, This is Difficult question try for me!I have tried the questions, number a, b and c and e but I gat some problem on the other question.
for your Hint How I make it, look this! CPP / C++ / C Code:
CPP / C++ / C Code:
CPP / C++ / C Code:
CPP / C++ / C Code:
the program succefully run. but if you have any suggestion on them please tell. I have get problem on the question D, f, g and h I cant able to serch for records on the file "employee.txt" please show me how to creat serch function for this fiel. the other is I can sort the record but the problem is I cant sort the records which is found on the "employee.txt" I cant able to copy the content to array A[] so please give me some hint for coping from file "employeethe.txt" How can update the record and how can remove the content of the record or remove the record itself. the record is found on employee.txt NOTE that my compilr is Turbo C++. |
Recent GIDBlog
Toyota - 2009 May Promotion by Nihal
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Question about locking surfaces to directly access pixels, SDL. | george89 | C++ Forum | 0 | 18-Jun-2006 22:16 |
| question on sorting items is not clear...plz help me | gvsivannarayana | C Programming Language | 0 | 28-Mar-2006 01:26 |
| question of practice | magiccreative | C++ Forum | 1 | 06-Feb-2004 08:17 |
| a C input question | tmike | C Programming Language | 1 | 16-Sep-2003 03:31 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The