25.07.2018, 12:20
You either use
MATERAL:3 and MATERIAL:4
or just write enum name.
- >
Or ->
So
I don't recommend using that and the values I wrote maybe incorrect.
MATERAL:3 and MATERIAL:4
or just write enum name.
- >
PHP код:
format(string,sizeof(string),"%s\t%d\n",Material[i][MName],Material[i][MPrice]);//warning 213: tag mismatch.
PHP код:
enum MATERIAL {
MModel, // 0
Material1[24], // 1
Material2[24], // 25
MName[24], // 49
MPrice // 73
};
PHP код:
format(string,sizeof(string),"%s\t%d\n",Material[i][MATERIAL:49],Material[i][MATERIAL:73]);