D doesn't read the first character of a file (reads everything but the first chararacter) with either read() or readText()
Enjoys Math via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Mon Jul 17 19:21:59 PDT 2017
DMD32 D Compiler v2.074.1
import std.file;
void main() {
string bigInput = readText("input.txt");
}
The file is 7 MB of ascii text, don't know if that matters...
Should I upgrade versions?
More information about the Digitalmars-d-learn
mailing list