Search:

Type: Posts; User: Adak

Search: Search took 0.07 seconds.

  1. Thread: student database

    by Adak
    Replies
    10
    Views
    4,455

    fread reads in the number of bytes you tell it to...

    fread reads in the number of bytes you tell it to read in - it could be what was left over from a recipe or anything. Different compilers will pad a struct differently. You could use...
  2. Thread: student database

    by Adak
    Replies
    10
    Views
    4,455

    Think of your kitchen faucet, and think of your...

    Think of your kitchen faucet, and think of your toilet. You flush() only the toilet, not the kitchen faucet. That's how it is with fflush() - it works for output streams only, not input.

    The trick...
  3. Thread: student database

    by Adak
    Replies
    10
    Views
    4,455

    "Hight", should be "Height". ;) Instead of one...

    "Hight", should be "Height". ;)

    Instead of one big function, break it up into several smaller one's:
    menu, readFile, search, edit, delete, etc.

    I was expecting to see fname and lname as...
Results 1 to 3 of 3