On Tue, 4 Sep 2012 15:01:37 -0400, Thomas David Rivers wrote:
>
>   cxx: t.c line 3:Error #144: a value of type "const char [7]" cannot
>be used to initialize an entity of type "char [6]"
>     char s6[ 6 ] = "wombat";
>  
Is there any convenient way to perform this initialization?  (I don't
consider either overallocating the array or enumerating individual
chars in a multiple initializer convenient.)

Thanks,
gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to