01.08.2013, 17:14
I have an enum:
And I want to print them values:
But I get warning Tag Mismatch.
One way to do not get this warning is:
But I don't like this... Is there any other way rather that this?
Thanks
pawn Код:
enum EM( += 2 )
{
x, // 0
y, // 2
z // 4
}
pawn Код:
printf("%d %d %d", EM:x, EM:y, EM:z);
One way to do not get this warning is:
pawn Код:
printf("%d %d %d", _:x, _:y, _:z);
Thanks