void ejectarea(void){ byte categ; byte tarea; categ = concatenar(msgTipRcv[0], msgTipRcv[1]); tarea = concatenar(msgRecRcv[0], msgRecRcv[1]);...
byte concatenar(char char1, char char2){ byte num12; char char12[2] = ""; char12[0] = char1; strcat(&char12, &char2); num12 = atoi(&char12); ...
LIBDEF_StringPtr strcat(LIBDEF_StringPtr str_d, LIBDEF_ConstStringPtr str_s) { LIBDEF_StringPtr sd = str_d; str_d += strlen(str_d); while(*str_d++ = *str_s++) {} return (sd);}
Solved! Go to Solution.
byte concatenar(char char1, char char2){ char char12[3]; char12[0] = char1; char12[1] = char2; char12[2] = 0;
byte concatenar(char char1, char char2){ char char12[3]; char12[0] = char1; char12[1] = char2; char12[2] = 0;