User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the C++ section within the Software Development category of DaniWeb, a massive community of 397,626 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,405 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our C++ advertiser:

C++ Bubble sort not working with array of records, does work with simple array.

Join Date: May 2008
Posts: 9
Reputation: compumasta is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
compumasta compumasta is offline Offline
Newbie Poster

Re: C++ Bubble sort not working with array of records, does work with simple array.

  #5  
May 9th, 2008
i tried implementing your code into my program and it does compile without any errors. unfortunately the same problem exists when it sorts the names it still only sorts them by the first letter and does not compare the rest of the name in the event that the first letters match.
Reply With Quote  
All times are GMT -4. The time now is 9:06 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC