Re: How to use "read_bool"?

2012-08-06 Thread Zeh
On Saturday, 4 August 2012 at 08:35:36 UTC, simendsjo wrote: On Sat, 04 Aug 2012 03:01:31 +0200, Zeh wrote: Thanks for the help, but i tryed both solutions posted and still not working. :/ I get erros to compile the code posted by simendsjo. I try modify at my own, but without success

Re: How to use "read_bool"?

2012-08-03 Thread Zeh
Thanks for the help, but i tryed both solutions posted and still not working. :/ I get erros to compile the code posted by simendsjo. I try modify at my own, but without success. The code suggest by Timon Gehr compiles, but not work. Honestly speaking, i didn't have enough knowledge to under

How to use "read_bool"?

2012-08-02 Thread Zeh
Hi, i am just a newbie trying learn D. But, i get having some trouble with "read_bool". More specifically on program of this lesson: import std.stdio; import std.conv; import std.string; void main() { write("How many are we? "); int personCount; readf(" %s", &personCount); wri