![]() |
| ||
| linked list problem!!! i've written a code for insertion in a linked list for all the 3 cases that is ...at the end,in the beginning & in between.....when i run this code then it runs successfully for insertion at end and in the beginning ,it is also showing no errors while compiling the program but when i run this code for insertion in between then it prints like this: enter the size of list:5 enter list: 10 20 30 40 50 Enter 1.to insert at end Enter 2.to insert in the beginning Enter 3.to insert in the between //so, when i enter here choice number 3.to insert in between 3. enter the location after which the number has to be inserted:3 enter number to be inserted:100 then it doesn't print anything and comes back to the program...that is the screen where the source program was written.why?it's not printing anything.plz make necesaary changes in my code to make it properly run....plz help me out with my code... #include<stdio.h> |
| ||
| Re: linked list problem!!! It's been at least three months since I last looked at one of your posts, and you've learned nothing. Maybe if you actually tried to write good code, it would be easier to find your many mistakes. >plz make necesaary changes in my code to make it properly run This is incredibly rude. You're assuming that we care about you and your program and that you're entitled to a complete rewrite by us. This sentence alone is why I refuse to help you. |
| ||
| Re: linked list problem!!! i am sorry....but i didn't mean to be rude at all....i said please if u could make some necessary changes that r reuired to make my program run successfuly because i know that you guys can only help me out here.....so i request you again to help me out...coz i have tried everything but i can't think of anything so that it can run properly...i have written the entire code but just can't able to run it properly.....so please help me out .... |
| ||
| Re: linked list problem!!! plz reply.....to my code.....its not running still..there is some mistake in the betwen section iam sure...please help me out with my code... |
| ||
| Re: linked list problem!!! Hello my friend. This is exactly what you need. but it is written in C++ #include<iostream> |
| ||
| Re: linked list problem!!! I'm sure it was worth waiting 2 YEARS for you to show up with an answer :rolleyes: In the meantime, feel free to swing by the "how to use code tags" readme thread at the top of the forum on how to post code which isn't an unindented mess. |
| ||
| Re: linked list problem!!! Hey first I am not interested in this forum. Second I come across this on the web and wanted to help him, with that purpose I registered and wasted my time writing the code. and "Don't teach your Grandfather how to suck an egg k?" |
| ||
| Re: linked list problem!!! >Hey first I am not interested in this forum. Then why did you post? >Second I come across this on the web and wanted to help him, with that purpose I registered and wasted my >time writing the code. Yes, you certainly did waste your time, because I don't think someone is going to wait 2 years for an answer. The OP has already given up, or solved the problem. Next time look at the date before posting. And by being so hasty to reply, you missed the forum announcements which explain things such as how to use code tags (as already mentioned by Salem), rules, and such. Believe me, it's not a good idea to try to suddenly reply to a thread without familiarizing yourself with the fourm and the community first. |
| All times are GMT -4. The time now is 2:28 am. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC