Algorithm for searching student database

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cppandchelseaFan
    New Member
    • Mar 2010
    • 2

    Algorithm for searching student database

    Hi,
    I am working on a school database management project. I want to make a search program in c++ which could run on thousands of records and can list down records with particular fields, like say the list of all children with birthday on a specific day, or list of all children with name Frank. Which algorithm will be best suited in terms of timing?


    Thanks.
  • jkmyoung
    Recognized Expert Top Contributor
    • Mar 2006
    • 2057

    #2
    So many ambiguities:
    Why aren't you using the specified query language for this database?
    How are you connecting to the database?
    Are you sorting the database?
    Are you indexing the database?
    Are particular searches repeated over and over?

    I'm not sure how this is immediately related to algorithms.

    Comment

    • cppandchelseaFan
      New Member
      • Mar 2010
      • 2

      #3
      Hi,

      I dont have access to the database directly, I am just using a library which is providing some APIs.

      Thats why, want to implement the whole thing in C++ :))

      Comment

      • jkmyoung
        Recognized Expert Top Contributor
        • Mar 2006
        • 2057

        #4
        What library are you using, and how are you using it so far? I'm assuming you already have a solution but are finding it too slow.

        Comment

        Working...