A specifier readf() for BigInt

Dennis Ritchie via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Feb 16 11:52:18 PST 2015


Hi.
And how to read Data from the input stream?

import std.stdio;
import std.bigint;

void main() {

	BigInt n;

	readf(" %?", &n);

	writeln(n);
}


More information about the Digitalmars-d-learn mailing list