![]() |
|
#1
|
|||
|
|||
Linear registerHi, I'm sorry for bothering you, but I have a serious problem which I cannot solve. I have to arrange numbers (from smaller to bigger one)
CPP / C++ / C Code:
Last edited by admin : 07-Jun-2007 at 00:20.
Reason: Please insert your C/C++ code between [cpp] & [/cpp] tags
|
|||
|
#2
|
|||
|
|||
Re: Linear registerQuote:
If this is supposed to sort a list that has been built, I will note that, in general, you simply can't do it with one pass through the given list. Not the way that you appear to be trying, and not without some stuff you haven't shown. If you have already implemented a sort routine with an array, try to write a description of the code in a generic pseudo-language. Then see if you can get through the list in the same ways using a linked list. I think that for best chances of meaningful help you might consider posting the code that shows how you built the list and showing how you tested the sort routine. (Print the list before sorting and print the list after sorting.) That way, we might be able to pinpoint some of your problems rather than just answering a lot of questions that you haven't asked. Ask specific questions about whatever behavior you don't understand. Just saying, "I have a serious problem," doesn't give us much to work on. Regards, Dave |
Recent GIDBlog
Toyota - 2009 May Promotion by Nihal
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Register Domain Name & Get 50MB Linux Hosting Free at www.igndomains.com | ignhost | Web Hosting Advertisements & Offers | 0 | 16-Oct-2006 03:04 |
| Code for receiving data from parallel port in VB.net | harry.net | .NET Forum | 1 | 10-Mar-2006 16:41 |
| Converting array to linear linked list | ejknippa | C Programming Language | 6 | 23-Aug-2005 04:03 |
| Download and register CAB file by IE! | hvtin | MS Visual C++ / MFC Forum | 0 | 15-Apr-2005 04:40 |
| Double output | leanieleanz | C++ Forum | 1 | 11-Mar-2005 21:19 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The