const issues and more!

Walter Bright newshound1 at digitalmars.com
Mon Jan 14 11:52:13 PST 2008


Neil Vice wrote:
> Firstly the following simple initialiser fails to compile:
> 
>     char[] text = "text";
> 
> As far as I can tell there is no way to declare and initialise an array in a 
> single line of code

	string text = "text";



More information about the Digitalmars-d mailing list