No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hey guys. Just a question. Is it possible to use a stack class and a link list class in the same program so for example if I decide to create a list (using the link list class) and then from this list take the odd numbers and put in a … | |
Hi. I want my Insertion method in my link list class not to insert repeated elements. I have tried several ways but I have seriously ugly bugs in my code: [code=cplusplus] template <typename ListElement> void List <ListElement>::Insert() { NodePtr Ptr; Ptr = new Node; bool repeated = true; if (Ptr … | |
Hi. Can you guys help me out with this link list method. The method issuppose to say if a list is in ascendent order or descendent order. I have this right now: [CODE] template <typename ListElement> int List <ListElement>::order() { NodePtr temp1; NodePtr temp2; temp1 = Head; temp2 = temp1->Next; … | |
Hey again! ;) This time I have this program which is supposed to read some stream file called "numbers.dat" which has the numbers 1 up to 10. I get the reading, but the thing is in the for loop I want to add the numbers in circles. For example: 1 … | |
Hey guys. I'm just trying out something with the fstream library. In the next code, I'm trying to read from the beginning of the array (num1) and from the end of the array (num2) the file I have as an "entry" called "entrada.txt", which has the numbers 1 up to … | |
Hello guys! Im new in this forum and I hope to say for a long time since I'm new im programming right now. Anyways, I have a big doubt on one assigment I have. I am not going to ask you to do it for me. What I want to … |