Hi Adam,
Thanks for your explanation.
On Wednesday, 25 May 2016 at 12:15:17 UTC, Adam D. Ruppe wrote:
On Wednesday, 25 May 2016 at 07:45:32 UTC, Jorge Lima wrote:
I can understand that array1 is not expanded to its value
representation in the first call, but why is then when passed
something obvious?
Thanks,
Jorge
I'm having an error related to yours: when I call writeln
function in a closed stdout I will get a segfault message.
Example:
import std.stdio;
void main() {
stdout.close();
write(hello\n);
}
The code above will crash with segfault buf the following code
will raise an exception instead:
My first question si very silly:
string str = readln()
my input is for example 123
how can i convert this to an integer?
Thanks.
Ok, it works fine. Thx to you all ;-) and sorry for my noob question.