View Single Post
Old Apr 19th, 2008, 5:17 PM   #8
misho
Newbie
 
Join Date: Apr 2008
Posts: 10
Rep Power: 0 misho is on a distinguished road
Re: String Selection Sort

None of your loops actually ever run:

c++ Syntax (Toggle Plain Text)
  1. for(int i=0; i>17; i++)

You make i=0 and the loop only runs if i>17.
misho is offline   Reply With Quote