Thanks anduril for all your help... :) I'm just about done I think but I have one last thing tripping me up.
void printList(struct linked_list* list)
{ struct linked_list *temp = list;
int len...
Type: Posts; User: LanguidLegend
Thanks anduril for all your help... :) I'm just about done I think but I have one last thing tripping me up.
void printList(struct linked_list* list)
{ struct linked_list *temp = list;
int len...
The assignment I was given instructed me to follow the following sample format:
$./list
Enter a command: 67
Enter a command: 89
Enter a command: +
67 + 89 = 156
Thanks for all your quick replies, I've read them over and have tried to update my code accordingly (pasted below).
However I'm still having a pointer problem. On the second pass through line 34,...
Thanks for your quick reply :)
Well, what I'm trying for in that part of the code is for result to just to create list nodes for result which will receive the sum of the corresponding first and...
Ok, so I'm working on an assignment using linked lists to add/subtract large numbers. This is what I have so far:
#include <stdio.h>
#include <stdlib.h>
struct linked_list {
int data; /*...