Here is the constructor from my Character class :
Character(int, int, int, string, string, string, string, string, double, double, bool, bool);
And in the main function, here is how I have tried :
Character character[100];
character[0] = {777, 10, 5, "one", "type", "desc", "status", "knife", 10.0, 20.0, false, true};
character[1] = {707, 5, 10, "two", "type2", "desc2", "status", "knife", 15.0, 23.4, true, true};
The error state that it has no storage class or type specifier..
EDIT* Finally got it right using this : p/s - Please provide a better solution if any. =/
Character character[100] = { character[0] = { 777, 10, 5, "one", "type", "desc", "status", "knife", 10.0, 20.0, false, true },
character[1] = { 707, 5, 10, "two", "type2", "desc2", "status", "gun", 15.0, 23.4, true, true },
character[2] = { 888, 7, 43, "three", "type3", "desc3", "status", "sword", 15.0, 23.4, false, false } };