Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: sunhater
  • Content: Threads
  • Order by date
  1. sunhater

    2-D array inseriton sort, possible??

    I am trying to do an insertion sort program where I sort a 2-D array. I think I am close, but I keep getting so screwy data after array[1][0]. Everything in row one sorts out great and the first element in row 2 is set right, but then it just goes wild. Here's the source code that I have...
  2. sunhater

    Need a little help--- 2d array selection sort

    Ok, the program below sorts the individual rows. I need it to sort all the numbers in each position, not just the rows. Any help would be appreciated. #include <iostream> using namespace std; const int rows = 3; const int cols = 10; void select_sort( ); int array[rows][cols]={...

Part and Inventory Search

Back
Top