Overloading operators to accept array of objectsI think your Student definition including the operators overloaded does not cause the error.
Convert str to int.or:
[code]string str = "123";
int i = stoi(str);[/code]
how to merge and order arraysHere I assume you are not learning algorithms about sorting.
After copying those elements into merg,...
const confusionAs the compiler said:
[quote]In member function 'int counter::inspect() const': 22:13: error: passin...
Function matching and Argument-dependent lookupAs I see in the reference, the operator<< function defined in <string> is not template, isn't it?