Aug 8, 2013 at 7:14am
Instead use operator +=
ImgType[i] += Img[i].at(g);
Aug 8, 2013 at 3:46pm
I've tries that and ImgType[i].append(&Img[i].at(g));
Both give errors of semantic types. Reads in console aborted terminate called after throwing an instance of std::out_of_range
What(): basic_string::at
Aug 8, 2013 at 3:48pm
That means Img[i] is shorter than g characters.
Aug 8, 2013 at 4:39pm
Yeah that's what I thought. Thanks