Apparently it depends on how off_t
is implemented by the library.
#include <streambuf>
__int64_t temp=std::numeric_limits<std::streamsize>::max();
gives you what the current max is.
STLport supports larger files.
More Related Contents:
- Reading and writing a std::vector into a file correctly
- How do I take values from text file and input into a 2D array? c++
- Reading from text file until EOF repeats last line [duplicate]
- How to print Unicode character in C++?
- Testing stream.good() or !stream.eof() reads last line twice [duplicate]
- How to write a large buffer into a binary file in C++, fast?
- How to properly overload the
- What is the C++ iostream endl fiasco?
- How to read a complete line from the user using cin?
- Which C I/O library should be used in C++ code? [closed]
- std::cout won’t print
- Read file-contents into a string in C++ [duplicate]
- Elegant ways to count the frequency of words in a file
- How to solve “Unresolved inclusion: ” in a C++ file in Eclipse CDT?
- How to write custom input stream in C++
- Can I use CreateFile, but force the handle into a std::ofstream?
- How can I compose output streams, so output goes multiple places at once?
- Why does std::cout convert volatile pointers to bool?
- vs. vs. “iostream.h”
- Custom manipulator for C++ iostream
- Obtain a std::ostream either from std::cout or std::ofstream(file)
- How to easily make std::cout thread-safe?
- checking for eof in string::getline
- How to read a file into vector in C++?
- Intercept windows open file
- Are int8_t and uint8_t intended to be char types?
- fstream won’t create a file [duplicate]
- How can I print 0x0a instead of 0xa using cout?
- Wrapping FILE* with custom std::ostream
- checking data availability before calling std::getline