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. urgent question

urgent question

Scheduled Pinned Locked Moved C / C++ / MFC
data-structuresquestion
9 Posts 7 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.
  • M Offline
    M Offline
    MAHMOUD ALI Jun2021
    wrote on last edited by
    #1

    Declare a structure "Student" which contains the following information:
    1
    i.
    ii.
    Student ID
    Grade for 5 subjects
    2. Write a function to
    i
    search for a Student ID and if exists write "Found", otherwise, write "Not Found"
    Write the Student found (ID and Grade) to a file with file name "StudentFile.txt
    In the main (0 function:
    3.
    i
    ii.
    ii.
    Read the data of an array of 10 students from the user (i.e., keyboard)
    Read from the user a student ID to search for
    Invoke the function search to search for the Student ID read by the user

    V L D D enhzflepE 6 Replies Last reply
    0
    • M MAHMOUD ALI Jun2021

      Declare a structure "Student" which contains the following information:
      1
      i.
      ii.
      Student ID
      Grade for 5 subjects
      2. Write a function to
      i
      search for a Student ID and if exists write "Found", otherwise, write "Not Found"
      Write the Student found (ID and Grade) to a file with file name "StudentFile.txt
      In the main (0 function:
      3.
      i
      ii.
      ii.
      Read the data of an array of 10 students from the user (i.e., keyboard)
      Read from the user a student ID to search for
      Invoke the function search to search for the Student ID read by the user

      V Offline
      V Offline
      Victor Nijegorodov
      wrote on last edited by
      #2

      Well, it likes like your homework. But what is your "urgent question"?

      M 1 Reply Last reply
      0
      • V Victor Nijegorodov

        Well, it likes like your homework. But what is your "urgent question"?

        M Offline
        M Offline
        MAHMOUD ALI Jun2021
        wrote on last edited by
        #3

        DO YOU KNOW ANSWER ??

        V 1 Reply Last reply
        0
        • M MAHMOUD ALI Jun2021

          DO YOU KNOW ANSWER ??

          V Offline
          V Offline
          Victor Nijegorodov
          wrote on last edited by
          #4

          MAHMOUD ALI Jun2021 wrote:

          DO YOU KNOW ANSWER ??

          To WHAT question? :confused:

          1 Reply Last reply
          0
          • M MAHMOUD ALI Jun2021

            Declare a structure "Student" which contains the following information:
            1
            i.
            ii.
            Student ID
            Grade for 5 subjects
            2. Write a function to
            i
            search for a Student ID and if exists write "Found", otherwise, write "Not Found"
            Write the Student found (ID and Grade) to a file with file name "StudentFile.txt
            In the main (0 function:
            3.
            i
            ii.
            ii.
            Read the data of an array of 10 students from the user (i.e., keyboard)
            Read from the user a student ID to search for
            Invoke the function search to search for the Student ID read by the user

            L Offline
            L Offline
            Lost User
            wrote on last edited by
            #5

            See Classes, Structures, and Unions | Microsoft Docs[^].

            1 Reply Last reply
            0
            • M MAHMOUD ALI Jun2021

              Declare a structure "Student" which contains the following information:
              1
              i.
              ii.
              Student ID
              Grade for 5 subjects
              2. Write a function to
              i
              search for a Student ID and if exists write "Found", otherwise, write "Not Found"
              Write the Student found (ID and Grade) to a file with file name "StudentFile.txt
              In the main (0 function:
              3.
              i
              ii.
              ii.
              Read the data of an array of 10 students from the user (i.e., keyboard)
              Read from the user a student ID to search for
              Invoke the function search to search for the Student ID read by the user

              D Offline
              D Offline
              David Crow
              wrote on last edited by
              #6

              See #11 here.

              "One man's wage rise is another man's price increase." - Harold Wilson

              "Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

              "You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles

              1 Reply Last reply
              0
              • M MAHMOUD ALI Jun2021

                Declare a structure "Student" which contains the following information:
                1
                i.
                ii.
                Student ID
                Grade for 5 subjects
                2. Write a function to
                i
                search for a Student ID and if exists write "Found", otherwise, write "Not Found"
                Write the Student found (ID and Grade) to a file with file name "StudentFile.txt
                In the main (0 function:
                3.
                i
                ii.
                ii.
                Read the data of an array of 10 students from the user (i.e., keyboard)
                Read from the user a student ID to search for
                Invoke the function search to search for the Student ID read by the user

                D Offline
                D Offline
                Dave Kreskowiak
                wrote on last edited by
                #7

                Yes, I know the answer. So do many, many other people here. You have to write some code to accomplish what is specified in this "assignment". Pay special attention to the first part of that answer. "YOU have to write some code..." Nobody is going to write this for you.

                Asking questions is a skill CodeProject Forum Guidelines Google: C# How to debug code Seriously, go read these articles.
                Dave Kreskowiak

                1 Reply Last reply
                0
                • M MAHMOUD ALI Jun2021

                  Declare a structure "Student" which contains the following information:
                  1
                  i.
                  ii.
                  Student ID
                  Grade for 5 subjects
                  2. Write a function to
                  i
                  search for a Student ID and if exists write "Found", otherwise, write "Not Found"
                  Write the Student found (ID and Grade) to a file with file name "StudentFile.txt
                  In the main (0 function:
                  3.
                  i
                  ii.
                  ii.
                  Read the data of an array of 10 students from the user (i.e., keyboard)
                  Read from the user a student ID to search for
                  Invoke the function search to search for the Student ID read by the user

                  enhzflepE Offline
                  enhzflepE Offline
                  enhzflep
                  wrote on last edited by
                  #8

                  Drawing on another user's recent comment... Do you think Usain Bolt got fast by having other people do his training? :doh:

                  1 Reply Last reply
                  0
                  • M MAHMOUD ALI Jun2021

                    Declare a structure "Student" which contains the following information:
                    1
                    i.
                    ii.
                    Student ID
                    Grade for 5 subjects
                    2. Write a function to
                    i
                    search for a Student ID and if exists write "Found", otherwise, write "Not Found"
                    Write the Student found (ID and Grade) to a file with file name "StudentFile.txt
                    In the main (0 function:
                    3.
                    i
                    ii.
                    ii.
                    Read the data of an array of 10 students from the user (i.e., keyboard)
                    Read from the user a student ID to search for
                    Invoke the function search to search for the Student ID read by the user

                    S Offline
                    S Offline
                    SeeSharp2
                    wrote on last edited by
                    #9

                    Your question was so urgent you forgot to even ask it. :laugh:

                    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