char[][] titles = (" ", "C", "!", "Description", "Resource", "In Folder", "Location","foo" );
Ty Tower
tytower at hotmail.com.au
Fri Feb 29 22:41:30 PST 2008
The line below will not compile
char[][] titles = (" ", "C", "!", "Description", "Resource", "In Folder", "Location","foo" );
The error is
cannot implicitly convert expression ("foo") of type char[3u] to char[][]
Is it accepting the first 7 and rejecting the last or does it start from the last in the compiler?
How do I fix this?
More information about the Digitalmars-d-learn
mailing list