Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. A C++ Homework

A C++ Homework

Scheduled Pinned Locked Moved C / C++ / MFC
c++databasehelpquestion
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    losan
    wrote on last edited by
    #1

    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

    T K 2 Replies Last reply
    0
    • L losan

      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

      T Offline
      T Offline
      ThatsAlok
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0
      • L losan

        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

        K Offline
        K Offline
        Kevin McFarlane
        wrote on last edited by
        #3

        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

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups