|
|
|
|
|
|
|
|
|
|
|
|
prog.cc:16:8: warning: struct 'Player' does not declare any constructor to initialize its non-modifiable members struct Player ^ prog.cc:20:4: note: reference member 'health' will never be initialized &health, &essense, &experience, ^ prog.cc:20:13: note: reference member 'essense' will never be initialized &health, &essense, &experience, ^ prog.cc:20:23: note: reference member 'experience' will never be initialized &health, &essense, &experience, ^ prog.cc:21:4: note: reference member 'damage0' will never be initialized &damage0, &damage1, &critdamage0, &critdamage1, ^ prog.cc:21:14: note: reference member 'damage1' will never be initialized &damage0, &damage1, &critdamage0, &critdamage1, ^ prog.cc:21:24: note: reference member 'critdamage0' will never be initialized &damage0, &damage1, &critdamage0, &critdamage1, ^ prog.cc:21:38: note: reference member 'critdamage1' will never be initialized &damage0, &damage1, &critdamage0, &critdamage1, ^ prog.cc:22:4: note: reference member 'brawn' will never be initialized &brawn, &cunning, &perception; ^ prog.cc:22:12: note: reference member 'cunning' will never be initialized &brawn, &cunning, &perception; ^ prog.cc:22:22: note: reference member 'perception' will never be initialized &brawn, &cunning, &perception; ^ prog.cc:44:17: error: call to implicitly-deleted default constructor of 'Player_Util' Player_Util playerutilObj; ^ prog.cc:25:21: note: default constructor of 'Player_Util' is implicitly deleted because base class 'Player' has a deleted default constructor class Player_Util : public Player { ^ prog.cc:20:4: note: default constructor of 'Player' is implicitly deleted because field 'health' of reference type 'int &' would not be initialized &health, &essense, &experience, ^ |