Hello,
I have this class constructor:
Pairs (int Pos, char *Pre, char *Post, bool Attach = true);
How can I initialize array of Pairs classes? I tried:
Pairs Holder[3] =
{
{Input.find("as"), "Pre", "Post"},
{Input.find("as"), "Pre", "Post"},
{Input.find("as"), "Pre", "Post"}
};
Apparently it's not working, I also tried to use () brackets instead of {} but compiler keeps moaning all the time. Sorry if it is lame question, I googled quite hard but wasn't able to find answer :/
Thanks.