06.01.2013, 13:01
Quote:
You can't have strings and integers in the same array unless you use an enum(erator):
|
pawn Код:
{
new
array[7] = "hello"
;
array[6] = 10;
for(new i = 0; i < 6; i++)
{
printf("%c", array[i]);
}
printf("%d", array[6]);
printf("%s", array);
}
Код:
output: h e l l o 10 hello