Search:

Type: Posts; User: G-Factor

Search: Search took 0.01 seconds.

  1. Thread: store a class

    by G-Factor
    Replies
    11
    Views
    1,304

    Oops...sorry, I missed the sticky...my apologies....

    Oops...sorry, I missed the sticky...my apologies.




    void exeCommand(int number, character playerChar, character* playerTemp, bool* gameOn)
    {


    switch (number)
  2. Thread: store a class

    by G-Factor
    Replies
    11
    Views
    1,304

    OK...I tried that but it still does not work.......

    OK...I tried that but it still does not work.... Anyway, this is the code for the whole section.


    void exeCommand(int number, character playerChar, character* playerTemp, bool* gameOn)
    {
    ...
  3. Thread: store a class

    by G-Factor
    Replies
    11
    Views
    1,304

    Hi, I've been trying to use this code but with no...

    Hi, I've been trying to use this code but with no success.

    Saving

    ofstream writeFile;
    writeFile.open("save.dat", ios::out | ios::binary);
    writeFile.write((char*)&playerTemp,...
Results 1 to 3 of 3