short programme from "Programming in D" by Ali Cehreli.

Nick B via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Jun 14 04:52:46 PDT 2016


On Tuesday, 14 June 2016 at 09:53:03 UTC, cym13 wrote:
> On Tuesday, 14 June 2016 at 09:39:05 UTC, Nick B wrote:
>> On Tuesday, 14 June 2016 at 09:28:18 UTC, cym13 wrote:
>>> On Tuesday, 14 June 2016 at 09:17:35 UTC, Nick B wrote:
>>>> Hi, Can anyone assist me with the short D programme. It is 
>>>> taken straight from  "Programming in D" by Ali Cehreli.  The 
>>>> code below is the solution,  on page 684.
>>>> The  Exercise is on Page 27, item 2 half way down the page.
>> [snip]
>
>
> It then printed as much of a stack trace as it could, not very 
> useful as you didn't do much but it's there.
>
> You gave it garbage and it threw an error. Compiler bugs are a 
> reality but not *that* common ;-)

Thanks for the assistance. I assumed that the compiler  would at 
least throw a line number, to hint at where the problem was.



More information about the Digitalmars-d-learn mailing list