|
|
|
|
kingkong200 wrote: |
---|
How to assign chars to the pointer array? |
1darray
and the row of the 2darray
are the same length and you initialized the 1darray
.1darray
is initialized by running this statement:
|
|
1darray
.
2.11 Identifiers . . . nondigit: one of a b c d e f g h i j k l m n o p q r s t u v w x y z A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _ digit: one of 0 1 2 3 4 5 6 7 8 9 . . . The initial element shall not be a universal-character-name designating a character whose encoding falls into one of the ranges specified in E.2. . . . |
error C2664: 'somefunction' : cannot convert parameter 1 from 'char [2][13]' to 'char **' |
|
|
|
|
char x[SIZE][];
char x[SIZE+1][];
char**
that is bigger than the first and move all the values in the old array to the new one.