Search:

Type: Posts; User: NightDaemon

Search: Search took 0.01 seconds.

  1. Replies
    16
    Views
    1,928

    Oh god. You're going to hate me. I just found...

    Oh god. You're going to hate me.

    I just found out what's wrong. It turns out that when I changed the input method for the playername variable, I screwed it up. The file was outputting properly,...
  2. Replies
    16
    Views
    1,928

    *sigh* Nope, still not working. This is starting...

    *sigh* Nope, still not working. This is starting to irritate me..
  3. Replies
    16
    Views
    1,928

    Apparently, it can't identify the c_str()...

    Apparently, it can't identify the c_str() function...
  4. Replies
    16
    Views
    1,928

    What header files do I need for that? And what is...

    What header files do I need for that? And what is the is. stuff for?
  5. Replies
    16
    Views
    1,928

    Well, I was opening the output file in a good...

    Well, I was opening the output file in a good text editor, and it clearly printed the null character at the start of the file. But just in case, here is the loading half of the equation:


    int...
  6. Replies
    16
    Views
    1,928

    Still has the same problem.

    Still has the same problem.
  7. Replies
    16
    Views
    1,928

    Same as the last time, but with ofstream...

    Same as the last time, but with

    ofstream saveto ( "stockmarket.sav" );
    replaced with

    ofstream saveto ( "stockmarket.sav" , ios::trunc );
  8. Replies
    16
    Views
    1,928

    Nope, didn't work.

    Nope, didn't work.
  9. Replies
    16
    Views
    1,928

    Problems with ofstream

    Hi. I'm trying to use ofstream to save the data for the game I'm coding, but I've hit a snag. When it saves the game, for some reason it outputs a null character to the start of the file, meaning...
Results 1 to 9 of 9