HI at ALL,
in this code,
NOME[0][0][15] = sprintf(getclone2(A.name, 2)->text ,"m %s", NOME[0][rt + 2]);
,,,,,,but to print should be NOME[1][0][15],,,I do not understand where I am wrong.
and when print over the index..the GE no indicates error.
char NOME[2][2][15] = 2 ACTOR, with 2 ITEM--->15 char x name item !!
int rt = 0;
char NOME[2][2][15];
strcpy(NOME[0][0], "TIME A");
strcpy(NOME[0][1], "TIME b");
strcpy(NOME[1][0], " ITEM A");
strcpy(NOME[1][1], " ITEM B");
sprintf(getclone2(A.name, 0)->text ,"m %s", NOME[0][rt + 0]); <---print TIME A
sprintf(getclone2(A.name, 1)->text ,"m %s", NOME[0][rt + 1]);<---print TIME B
sprintf(getclone2(A.name, 2)->text ,"m %s", NOME[0][rt + 2]);<---print ITEM A
sprintf(getclone2(A.name, 3)->text ,"m %s", NOME[0][rt + 3]);<---print ITEM A
////////////////////////////
in 2 example NEW: I want alone printer NOME[][],,,, but prints also the STRING[][]. this is weird
strcpy(NOME[0][0], "TIME 1");
strcpy(NOME[0][1], "TIME 2");
strcpy(NOME[0][2], "TIME 3");
strcpy(NOME[0][3], "TIME 4");
strcpy(STRING[0][0], "TIME 55");
sprintf(getclone2(A.name, 0)->text ,"m %s", NOME[0][rt + 0]);// a
sprintf(getclone2(A.name, 1)->text ,"m %s", NOME[0][rt + 1]);// b
sprintf(getclone2(A.name, 2)->text ,"m %s", NOME[0][rt + 2]);// d
sprintf(getclone2(A.name, 3)->text ,"m %s", NOME[0][rt + 3]);// d
...and rt = 4--->print STRING[0][0], "TIME 55"); THis is weird!!
sprintf(getclone2(A.name, 4)->text ,"rt:%d", rt);// d