Search:

Type: Posts; User: trekintouretter

Search: Search took 0.00 seconds.

  1. Replies
    12
    Views
    1,920

    I've tried your suggestions here, but it still...

    I've tried your suggestions here, but it still will not open FIRSTENEMY.TXT, although it will open other files.
  2. Replies
    12
    Views
    1,920

    Is there anything special I have to do to...

    Is there anything special I have to do to allocate memory other than declaring it as a normal variable?
  3. Replies
    12
    Views
    1,920

    Here is the code

    Here is the code that opens a file. I have several text files, some of them work and others don't. Is there some kind of limit on the number of files a program can open?


    fstream f;
    char* temp;...
  4. Replies
    12
    Views
    1,920

    Text Files

    I have a program that reads from several text files in a folder. What I don't understand is why it reads data from one file, but not another, when they are exactly the same except for the data. Can...
  5. Replies
    5
    Views
    1,680

    Yep, even older. Borland C++ 5.02. It's what I...

    Yep, even older. Borland C++ 5.02. It's what I have right now and I don't got loads of money to buy a new one, they're expensive.

    I have already tried the file option. The point is that the data...
  6. Replies
    5
    Views
    1,680

    Too Much Global Data!!!!

    Ok, I've been working on this RPG for a long time now, and I keep getting the error, 'Too much global data', no matter what I do. I've tried several things to limit my data. For each screen in the...
  7. Replies
    5
    Views
    1,176

    Thanks for responding. What does ios::trunc mean?...

    Thanks for responding. What does ios::trunc mean? and seekg?
  8. Replies
    5
    Views
    1,176

    I have included it, and it still gives me those...

    I have included it, and it still gives me those errors. But wouldn't it give me a compiler error anyway?
  9. Replies
    5
    Views
    1,176

    Question about files

    I am working on a game where I had too much global data. My current solution is to write the data to a file and then to read it back. Here is some code:

    fstream f;
    f.open("\\screens.txt", ios::in...
  10. Replies
    1
    Views
    814

    a question about matrices

    hey all, i'm new here. i've been working on an rpg for a while and i've come across a problem. first of all i have a matrix for every screen of the game. for example,
    {2, 1, 3}
    {2, 5, 4}
    {3, 2,...
Results 1 to 10 of 10