![]() |
| ||
| help implementing singly linked list hey all, i'm a newbie to C++ programming and i'm having some difficulties implementing this singly linked list. what it has to do is accept: nickname email address number of kills and store them in a node of the linked list in order according to number of kills. here's what i've got, it seems to accept the number of kills, but i run into problems when i try to accept anything else. #include<iostream.h> |
| ||
| Re: help implementing singly linked list Hi Paynekiller! Welcome to TechTalk! I just moderate this forum, so I wouldn't be able to help troubleshoot your code, but could you surround your code with [ code] and [ /code] tags? Like this:
It makes your code easier to read, and you can keep all of the indentation and the formatting that makes the code readible. |
| ||
| Re: help implementing singly linked list done a bit of rehashing and came up with this, it seems to be more on the right track, doesn't it?? i'm getting some parse errors in the addSoldier function, help! #include <iostream> |
| ||
| Re: help implementing singly linked list Hi, I am Rammohan from Bangalore and working as a Technical lead in big IT firm . Solution for your answer is follows: I have provided you my own sample code for your request: Insert, Reverse, print the list, Sort the list # include <stdio.h> Regards, Rammohan Alampally, <snip false signature> |
| All times are GMT -4. The time now is 11:30 am. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC