CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: logank9

Search: Search took 0.17 seconds.

  1. Replies
    3
    Views
    6,473

    Re: Problem loading in files with fstream

    Annnnnnnd also that the last line I mistyped... it should be aFile.close();
  2. Replies
    3
    Views
    6,473

    Re: Problem loading in files with fstream

    Also, if it helps I am running linux.
  3. Replies
    3
    Views
    6,473

    Problem loading in files with fstream

    Obviously I'm doing something wrong, I just don't know what. Here's my code:



    char* fileTxt;
    std::ifstream aFile;
    aFile.open("a.txt");
    aFile >> fileTxt;
    a.close();
Results 1 to 3 of 3





Click Here to Expand Forum to Full Width

Featured