A C++ Homework
-
Dear Mr; I need some help to solve this programming question if you please the question said: If we have a file of record (i.e. student.Dat) Given the following record structure, St_ Rec = record St_ no : longint ; { primary key } St_ name : string [50]; {secondary key 1} Ma-jor : string [2]; {secondary key 2} Year : byte; {secondary key 3} Address : sting [50]; End Write a c++ program that 2) Allows the user do the following a) Add and delete a record dynamically (Using the avail list) b) Modify the information in any given record c) Query the data file using single key or combination of two secondary keys (and / or) d) Display the contents of the file page by page in table format Note 1:- use menu to allow the user to choose the required operation. Note 2:- use canonical form for names losan1985
-
Dear Mr; I need some help to solve this programming question if you please the question said: If we have a file of record (i.e. student.Dat) Given the following record structure, St_ Rec = record St_ no : longint ; { primary key } St_ name : string [50]; {secondary key 1} Ma-jor : string [2]; {secondary key 2} Year : byte; {secondary key 3} Address : sting [50]; End Write a c++ program that 2) Allows the user do the following a) Add and delete a record dynamically (Using the avail list) b) Modify the information in any given record c) Query the data file using single key or combination of two secondary keys (and / or) d) Display the contents of the file page by page in table format Note 1:- use menu to allow the user to choose the required operation. Note 2:- use canonical form for names losan1985
losan wrote:
I need some help to solve this programming question if you please the question said:
Have you coded something dear
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers, Alok Gupta VC Forum Q&A :- I/ IV
-
Dear Mr; I need some help to solve this programming question if you please the question said: If we have a file of record (i.e. student.Dat) Given the following record structure, St_ Rec = record St_ no : longint ; { primary key } St_ name : string [50]; {secondary key 1} Ma-jor : string [2]; {secondary key 2} Year : byte; {secondary key 3} Address : sting [50]; End Write a c++ program that 2) Allows the user do the following a) Add and delete a record dynamically (Using the avail list) b) Modify the information in any given record c) Query the data file using single key or combination of two secondary keys (and / or) d) Display the contents of the file page by page in table format Note 1:- use menu to allow the user to choose the required operation. Note 2:- use canonical form for names losan1985
See http://www.parashift.com/c++-faq-lite/how-to-post.html#faq-5.2[^] In general in these forums people expect you to make an attempt at solving your problem and then they'll help you when you get stuck. Kevin