Thread: reusing a 'deleted' record

  1. #16
    Codus Conjectus spongefreddie's Avatar
    Join Date
    Sep 2010


    Sorry I forgot I changed the record filename in the code:

    If you compile this, you'll need an empty text file called "books.dat" not "books.bin"
    Steering Wheel: gcc in Code::Blocks 16.01
    Batmobile: Manjaro 17.0 64bit Cinnamon, kernel 4.9.44-1-MANJARO
    Engine: AMD FX-8350 Vishera 8-core
    Dashboard: NVIDIA GeForce GTX 1060 6GB
    Rusty old trailer for hauling games: Windows 7 Pro 64bit SP1
    Roach-infested ORV for composing music: Windows 7 Pro 64bit SP1

  2. #17
    Registered User
    Join Date
    Sep 2006
    Time well spent, though. Look at what is in this program:

    array of structs
    Insertion sort of strings (I've never coded this one up before)
    binary search
    file IO, including making a back up file.
    safer data entry from user
    record "addition" and "deletion" via field editing
    menu system

    That is a lot to take on, in just a few days.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 7
    Last Post: 10-09-2009, 06:27 AM
  2. Help with binary file c++
    By lucky_mutani in forum C++ Programming
    Replies: 4
    Last Post: 06-05-2009, 09:24 AM
  3. Inventory records
    By jsbeckton in forum C Programming
    Replies: 23
    Last Post: 06-28-2007, 04:14 AM
  4. Contest Results - May 27, 2002
    By ygfperson in forum A Brief History of
    Replies: 18
    Last Post: 06-18-2002, 01:27 PM
  5. behind and confused
    By steviecrawf in forum C Programming
    Replies: 1
    Last Post: 11-09-2001, 12:51 PM