27.04.2012, 11:10
enum
{
a,
b,
c,
ect...
}
just declares variables and initializes them with 0, then 1, 2, 3 and so on? why would i not use enums just like numbers for arrays with names i can remember?
anyway printing those out gives me 0, 1, 2 and so on.
i use 2 enums.
i use 2 arrays because i can not define one array with like 8 integer variables, and then 6 float variables
propdatas is for strings, works good for me
how would you declare an array using enums?
new array[3] creates array[0], array[1] and array[2], i dont get your point
again, what should i do with an enum in sscanf, it's only names for counting numbers
i DO know that pawn is far from c and i hate that
i DO know about warnings, and i can usualy fix them, because i can't in THIS case i am asking you
your link doesn't explain anything about enums, just some kind of printf trick stuff, that i dont need
{
a,
b,
c,
ect...
}
just declares variables and initializes them with 0, then 1, 2, 3 and so on? why would i not use enums just like numbers for arrays with names i can remember?
anyway printing those out gives me 0, 1, 2 and so on.
i use 2 enums.
i use 2 arrays because i can not define one array with like 8 integer variables, and then 6 float variables
propdatas is for strings, works good for me
how would you declare an array using enums?
new array[3] creates array[0], array[1] and array[2], i dont get your point
again, what should i do with an enum in sscanf, it's only names for counting numbers
i DO know that pawn is far from c and i hate that
i DO know about warnings, and i can usualy fix them, because i can't in THIS case i am asking you
your link doesn't explain anything about enums, just some kind of printf trick stuff, that i dont need