I am having difficulty with my template version of an overloaded ostream and binary arithmetic operators. I am attempting to have strings added to an array and then print out the array but the compiler doesn't like something about my declarations of these operators. Any help would be appreciated.
code calling the operators:
1 2 3 4 5 6
Array<string> sarr
cout<<"Array class as String : "<<endl;
for (int i = 0; i < 20; i++)
sarr += "array";
cout << sarr << endl << endl;