Código:
esto me da un error que dice...class maquina_dinero { private: int monedas[9][3]={{500,0,0},{200,0,0},{100,0,0},{50,0,0},{20,0,0},{10,0,0},{5,0,0},{2,0,0},{1,0,0}};//El SEGNDO ESLA CANTIDAD int dinero,contador; public: void calcula_dinero(int dinero); void imprime_total(); };
invalid in-class initialization of static data member of non-integral type `int[9][3]'
me podeis echar una mano?