Is this a legal statment in C/C++? (look at the struct please)
Code:// Player.h: interface for the CPlayer class. // #ifndef _PLAYER_H_ #define _PLAYER_H_ class CPlayer : public CBasePlayer { public: CPlayer(); virtual ~CPlayer(); void Inventory(); int FirstWep(); int SeconWep(); private: struct s_iInvent { char name[30]; int type; int ammt; }; s_iInvent[18]; }; #endif // _PLAYER_H_