08.08.2011, 11:11
(
Последний раз редактировалось JaTochNietDan; 08.08.2011 в 11:16.
Причина: Use the edit button.
)
pawn Код:
new packed[4 char], unpacked[4];
strpack(packed, "test");
strunpack(unpacked, packed);
print(unpacked);
Quote:
test |
Quote:
tes |
it works by this way:
pawn Код:
new packed[5 char], unpacked[5];
strpack(packed, "test");
strunpack(unpacked, packed);
print(unpacked);
printf("%c %c %c %c %c", unpacked[0], unpacked[1], unpacked[2], unpacked[3], unpacked[4]);
Quote:
test t e s t |