Created
April 1, 2015 03:45
-
-
Save mitchfriedman/90f2e0f5222d35ccb97b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void printList(Food * theList) // maybe something is weird here? Idk, mostly for | |
{ | |
struct Food * curPos; | |
char * tempStr; | |
if (isEmpty(theList) == true) | |
printf("Error: there is no record to print.\n"); | |
curPos = theList; | |
while (curPos) | |
{ | |
tempStr = printRecord(curPos); | |
printf("%s\n", tempStr); | |
curPos = curPos->next; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment