noob Q: declaring string variables

Ary Borenszweig ary at esperanto.org.ar
Sat May 29 14:59:54 PDT 2010


On 05/29/2010 06:38 PM, Duke Normandin wrote:
> Back again...
>
> As an introductory tutorial, I'm now using:
>
> http://www.dsource.org/projects/tutorials/wiki/InitializingVariablesExample
>
> BTW, somebody fix that page - the `writefln' statements are missing
> the %d and %s.
>
> char[] password = "sesame";
>
> didn't work on my MacOS X box. Why?

Hi Duke,

Why it didn't work? Please provide the error message the compiler gave 
you, otherwise it's hard to reproduce and know exactly what the problem is.


More information about the Digitalmars-d-learn mailing list