Typedef'ing an array within a function
Okay, so here's the deal...
I have a function that has all of the different sorts within it. I want to make the type that I pass over to it a typedef so that it can sort doubles, ints, strings, etc.
Here is what I have:
Any help would be most appreciated.
I have never really used templates
I have never really used templates, so would I be able to get a quick run down on them. I looked it up online and stared blankly at the screen for a good 10 minutes.