Jorge wrote:
My first question si very silly:string str = readln() my input is for example 123 how can i convert this to an integer?
import std.conv; // then in code: auto i = to!int(str);
Jorge wrote:
My first question si very silly:string str = readln() my input is for example 123 how can i convert this to an integer?
import std.conv; // then in code: auto i = to!int(str);