noob Q: declaring string variables

Don nospam at nospam.com
Sat May 29 23:12:48 PDT 2010


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?
> 
> [sidebar]
> Why is every D tutorial I've touched upon so far, been frigged up?
> This is NOT good advocacy, people! Bad advertising! Where is the good
> stuff hiding? L8r...

Yeah. It's an advertising disaster. Basically because just about every 
tutorial in existence is a D1 tutorial, and many of them don't even 
state that.  And I think that very soon, most of the interest will be in D2.
OTOH, Andrei's book is excellent.


More information about the Digitalmars-d-learn mailing list