Search:

Type: Posts; User: dwks

Search: Search took 0.09 seconds.

  1. Replies
    4
    Views
    4,215

    If you have the binary file already created, and...

    If you have the binary file already created, and you want to randomly access one record in it, you can use the seekg function of ifstream just as you have done. I think you should be able to figure...
  2. Replies
    4
    Views
    4,215

    Unless . . . ah! It is a hash table, a hash table...

    Unless . . . ah! It is a hash table, a hash table with open addressing -- am I right? So if you're writing something into the file, and the spot is already taken, you want it to e.g. go to the next...
  3. Replies
    4
    Views
    4,215

    Well, when I change one of your functions to look...

    Well, when I change one of your functions to look like this,

    void StudBinaryFile::writeBinary(StudBinaryFile rd, ofstream& outFile)
    {
    std::cout << "Writing " << rd.get_id() << "," <<...
Results 1 to 3 of 3