View Single Post
Old Apr 1st, 2008, 11:14 AM   #6
Jimbo
Battle Programmer
 
Jimbo's Avatar
 
Join Date: Feb 2006
Location: Bellevue, WA, USA
Posts: 770
Rep Power: 3 Jimbo is on a distinguished road
Re: String Selection Sort

Quote:
Originally Posted by gmann145 View Post
some work of i've added since starting, i keep getting an error that says cannot convert parameter 1 from 'char [20][17]' to 'char []'
I'm pretty sure the problem is in your showArray, where you pass it something of type char[][] but expect something of type char[]. Change the function to accept your list of arrays, and you should be fine (logic should all still work appropriately, I think).

For future reference, please provide a line number with errors; makes it easier for us to find out where they are
__________________
<insert disclaimer here>
<insert shameless plug for Visual Studio here>
Jimbo is offline   Reply With Quote