|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| guestgulkan (2375) | |
for ( ptrM = front->next; ptrM != back; ptrM->next )//Error?? ptrM->next isn't moving the pointer along.Maybe you meant to do like this. ptrM = ptrM->next. | |
|
|
|
| olove05 (60) | |
|
yes, it was the mistake, but I gated 1 2 3 4 5 No mach No mach the element is:3 No mach No mach front 1 2 0 4 5 back // the swap is not working!!!!, I check and I can not find the problem , any suggestion, it has to put the 3 in the front like this 3 1 2 4 5. | |
|
|
|
| guestgulkan (2375) | |
|
My, this is hard work. Post your code as it is now so we can see where you are. | |
|
|
|
| olove05 (60) | |||
The code is it:
| |||
|
|
|||
| guestgulkan (2375) | |
|
This is still wrong - I don't think you understand what you are doing at all. Please provide ALL the code. | |
|
|
|
| olove05 (60) | |||
Here are the function definitions and the implementations, just the functions where the program call in main
| |||
|
|
|||
| olove05 (60) | |
| ANY IDEA???? | |
|
|
|
| helios (9408) | |
|
Look, guy, I can understand that you're impatient and you want an answer as soon as possible, but saying over and over again "ANY IDEA???" isn't going to get you faster responses. Actually, your attitude has cost at least one response. I decided not to reply to your threads because of your impatience. Understand this: none of us has any obligation to reply to any threads. We do it because we want to. If you get a response and it's helpful, you should feel thankful. Not just because someone was kind enough to help you for nothing, which itself is enough, but also because someone happened to look at your question, and managed to figure out what was wrong, perhaps even a couple hours after you posted it. Even though most of the experienced posters live in the Western hemisphere, a lot of posters who primarily ask questions live at the opposite side of the world, meaning sometimes six or even twelve hours can pass without a single reply. Do they complain? No. They know their place. Beggars can't be choosers. You can't wait four hours? Are you on a deadline or something? To answer your last post, here's an idea: if you're in that much of a hurry, why don't you, oh, I don't know... try solving it yourself? | |
|
|
|
| firedraco (4744) | ||
This. | ||
|
|
||
| olove05 (60) | |
|
Sorry, I have 2 week with this problem, I am very thank for all of you guy, and for you helios, I just do not have enough time to finish sorry for the inconvenient .I will do not do again......... THANKS.............................And God Bless you | |
|
|
|