Uploaded image for project: 'C++ Standard Library'
  1. C++ Standard Library
  2. STDCXX-66

implement large file support in iostreams

Add voteWatch issue
    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 4.1.2, 4.1.3, 4.1.4, 4.2.0
    • 5.0.0
    • 27. Input/Output
    • None
    • AIX 5.2
      VisualAge C++ Professional / C for AIX Compiler, Version 6

    • Usability

    Description

      #include <string>
      #include <fstream>
      int main(int argc, char**argv)
      {
      std::ifstream i;
      try
      {
      i.open("/tmp/largeFile.txt",std::ios::in);

      if ( i.good() )

      { char s[1024]; i >> s ; // .getline(s, 100); std::cout << s << std::endl; }

      else

      { std::cout << "Open error\n"; }

      }
      catch(...)

      { std::cout << "error\n"; }

      return 0;
      }

      Attachments

        Activity

          People

            Unassigned Unassigned
            jdean Jeremy Dean

            Dates

              Created:
              Updated:

              Issue deployment