или такКод:void print_string (unsigned char x, unsigned char y, unsigned char *s) { unsigned char init_x = x; while (*s != 0) { if (*s == 13) { x = init_x; y += 2; s++; } else { sp_PrintAtInv (y, x++, 71, *s++ - 32); } } }
Код:void print_string (unsigned char x, unsigned char y, unsigned char *s) { unsigned char init_x = x; while (*s != 0) { if (*s == 13) { x = init_x; y += 2; } else { sp_PrintAtInv (y, x++, 71, *s - 32); } s++; } }




Ответить с цитированием