Aha! Thank you!!!
Type: Posts; User: drbr0wn
Aha! Thank you!!!
Thank you for your help.
I changed:
char* string1 = {0};
char* string2 = {0};
to:
char string1[] = {0};
Hello.
This is a simple program that imports a custom header file called 'myfunc.h,' which contains a defined prototype for an alternative strcmp function.
The code for the .c file is:
...
Thank you, anduril. I do need to brush up on linked lists more and will continue doing so during and after my class is over.
itemPtr loadFile(char *file) { FILE *fPtr;
item *head;...
Thanks for your previous help. I fixed all the minor errors and brushed up on linked lists some. Below is my refined code. Please, once again, note "loadFile."
#include <stdio.h>
#include...
Hello. This is my code:
#include <stdio.h>
#include <stdlib.h>
/* Struct transaction – This struct should define an itemNumber, and an itemAmount that are ints, itemPrice which is a float,...