Issue Details (XML | Word | Printable)

Key: STDCXX-66
Type: New Feature New Feature
Status: Open Open
Priority: Minor Minor
Assignee: Unassigned
Reporter: Jeremy Dean
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
C++ Standard Library

implement large file support in iostreams

Created: 12/Nov/05 02:22 AM   Updated: 14/Dec/07 08:33 PM
Return to search
Component/s: 27. Input/Output
Affects Version/s: 4.1.2, 4.1.3, 4.1.4, 4.2.0
Fix Version/s: 5.0.0

Time Tracking:
Not Specified

Environment:
AIX 5.2
VisualAge C++ Professional / C for AIX Compiler, Version 6

Severity: Usability


 Description  « Hide
#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;
}



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
There are no subversion log entries for this issue yet.