Re: learning D. Experienced issue very quickly.

2012-04-18 Thread H. S. Teoh
On Thu, Apr 19, 2012 at 12:51:21AM +0200, Paul wrote: > On Wednesday, 18 April 2012 at 13:10:47 UTC, Mark wrote: > >Yeah I bought the book recently and ran into an issue very quickly > >into it. But this error I keep getting keeps bugging me. Could really > >use an explanation on why its not compil

Re: learning D. Experienced issue very quickly.

2012-04-18 Thread Paul
On Wednesday, 18 April 2012 at 13:10:47 UTC, Mark wrote: Yeah I bought the book recently and ran into an issue very quickly into it. But this error I keep getting keeps bugging me. Could really use an explanation on why its not compiling. Here is the code. Mark I started a thread along this

Re: learning D. Experienced issue very quickly.

2012-04-18 Thread bearophile
Mark: look at that. it says D1. I downloaded both D1 and D2. Better get rid of D1 then. I feel like such an idiot. THank you for the help. You aren't an idiot, it's not your fault. In some months D1 compilers will be buried deeply in some sites, so your problem will (mostly) stop happening t

Re: learning D. Experienced issue very quickly.

2012-04-18 Thread Mirko Pilger
I feel like such an idiot. don't worry. you're not the first and not the last being confused by this.

Re: learning D. Experienced issue very quickly.

2012-04-18 Thread Mark
Are you using the D1 compiler..? It works on dmd 2.057,8 and 9 at least. Just write dmd, and look at the top for the compiler version. look at that. it says D1. I downloaded both D1 and D2. Better get rid of D1 then. I feel like such an idiot. THank you for the help.

Re: learning D. Experienced issue very quickly.

2012-04-18 Thread simendsjo
On Wed, 18 Apr 2012 15:24:12 +0200, Mark wrote: Are you using the D1 compiler..? It works on dmd 2.057,8 and 9 at least. Just write dmd, and look at the top for the compiler version. look at that. it says D1. I downloaded both D1 and D2. Better get rid of D1 then. I feel like such an idio

Re: learning D. Experienced issue very quickly.

2012-04-18 Thread simendsjo
On Wed, 18 Apr 2012 15:10:46 +0200, Mark wrote: Yeah I bought the book recently and ran into an issue very quickly into it. But this error I keep getting keeps bugging me. Could really use an explanation on why its not compiling. Here is the code. /* Compute heights in centimeters for a

Re: learning D. Experienced issue very quickly.

2012-04-18 Thread Steven Schveighoffer
On Wed, 18 Apr 2012 09:10:46 -0400, Mark wrote: Yeah I bought the book recently and ran into an issue very quickly into it. But this error I keep getting keeps bugging me. Could really use an explanation on why its not compiling. Here is the code. /* Compute heights in centimeters for a

learning D. Experienced issue very quickly.

2012-04-18 Thread Mark
Yeah I bought the book recently and ran into an issue very quickly into it. But this error I keep getting keeps bugging me. Could really use an explanation on why its not compiling. Here is the code. /* Compute heights in centimeters for a range of heights expressed in feet and inches */ i