I am writing a program that uses a template to take in ints, doubles and strings from files and sorts them using bubble sort. Right now the ints and doubles are printed fine but the problem comes with the string.
Compiler is telling me on line 43 that there is no matching call to bubblesort. I assume it's a problem with converting strings correctly into the sort but not sure how to fix it. Any help would be appreciated.
mutexe, thanks that was the problem. completely forgot that it would be expecting a string in both cases when I instantiate the template to expect strings.