Search:

Type: Posts; User: Elysia

Search: Search took 0.31 seconds.

  1. Replies
    5
    Views
    2,657

    I guess that backfired, huh? I just made a quick...

    I guess that backfired, huh? I just made a quick re-write of that function.
    Oh well, just learn the advice; don't copy my sloppy re-coding :p
  2. Replies
    5
    Views
    2,657

    Instead of checking for success, check for...

    Instead of checking for success, check for errors. That way, you don't need huge nested if statements which Microsoft is so fond of.

    fp.seekp(RecNum*sizeof(s), ios::beg);
    if (!fp)
    {
    // Handle...
Results 1 to 2 of 2