Re: How to use "read_bool"?

2012-08-06 Thread Timon Gehr
On 08/04/2012 03:01 AM, 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. The code suggest by Timon Gehr compiles, but not work. Works for me. Maybe read

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. The

Re: How to use "read_bool"?

2012-08-04 Thread simendsjo
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. The code suggest by Timon Gehr compiles, but not work. Hones

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

Re: How to use "read_bool"?

2012-08-03 Thread Era Scarecrow
On Friday, 3 August 2012 at 19:25:21 UTC, Ali Çehreli wrote: On 08/03/2012 12:17 PM, Philippe Sigaud wrote: > some of us could start a 2nd level translation (japanese, > russian, italian, german and french are likely possibilities). How timely! Crimson Sphere has just started the Korean tran

Re: How to use "read_bool"?

2012-08-03 Thread Ali Çehreli
On 08/03/2012 12:17 PM, Philippe Sigaud wrote: > some of us could start a 2nd level > translation (japanese, russian, italian, german and french are likely > possibilities). How timely! Crimson Sphere has just started the Korean translation: http://p-crimsonsphere.blogspot.kr/p/programming-in

Re: How to use "read_bool"?

2012-08-03 Thread Philippe Sigaud
On Fri, Aug 3, 2012 at 8:59 PM, bearophile wrote: > Money isn't just for money. Money has also effects on the mind of people :-) Well money is nothing but effect in our mind... I know that, for quite some time now, whenever I find a book as a free pdf and I like it, I make a point to buy it ane

Re: How to use "read_bool"?

2012-08-03 Thread bearophile
Ali Çehreli: No, the Turkish version is free as well. :) Some people complain that there is no way of showing material appreciation. Human psychology is not linear :-) Sometimes if you pay some (a little) money you think of it as more important. Sometimes if you have a way to give back to th

Re: How to use "read_bool"?

2012-08-03 Thread Ali Çehreli
On 08/03/2012 10:58 AM, simendsjo wrote: > Guess I should do this as you give away all your hard work for free. Thank you! I am making it better little by little every day. > Do you mind me asking why you give away the translation for free btw? I think all of the following: This is my project

Re: How to use "read_bool"?

2012-08-03 Thread simendsjo
On Fri, 03 Aug 2012 19:30:25 +0200, Ali Çehreli wrote: On 08/03/2012 09:12 AM, simendsjo wrote: > What tutorials is this? The function is at the very end of the following chapter: http://ddili.org/ders/d.en/logical_expressions.html Ali Ah, ok. I still haven't read the chapters you've

Re: How to use "read_bool"?

2012-08-03 Thread Ali Çehreli
On 08/03/2012 09:12 AM, simendsjo wrote: > What tutorials is this? The function is at the very end of the following chapter: http://ddili.org/ders/d.en/logical_expressions.html Ali

Re: How to use "read_bool"?

2012-08-03 Thread simendsjo
On Fri, 03 Aug 2012 08:05:46 +0200, Ali Çehreli wrote: On 08/02/2012 09:17 PM, Zeh wrote: > 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: As Timon said, read_bool() is a separate function on the same pag

Re: How to use "read_bool"?

2012-08-02 Thread Ali Çehreli
On 08/02/2012 09:17 PM, Zeh wrote: > 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: As Timon said, read_bool() is a separate function on the same page, a little after main(): bool read_bool(string message)

Re: How to use "read_bool"?

2012-08-02 Thread Timon Gehr
On 08/03/2012 06:17 AM, Zeh wrote: 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", &

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