URL: https://github.com/DevMajed/ShoopingList/blob/master/ShoopingList/main.c
Author: Majed Alharbi
DISCLAIMER
#1 Even though my code is tested and aproved, i'm not responsible for any damage mentally or
physically or socially that might occer to you due to my implmentation of it.
Use the code at your own risk.
#2 All the comments that explain how each part of the code works are found in the ShoopingList.c file.
#3 I made this code from scratch as a demonstration of how Linked Lists work in C Langauge.
LICENSE
The user is free to use, modify, or reproduce the code and its derivatives.
Project : Shopping List
This Code demonstrates how to implement a Shopping list using [ linked list ]
data structure in C Languange.
Each item in the list has a name and a price.
The program defines a struct called shopping_list which has
fields for the name, price, and a pointer to the next item in the list.
The program provides several functions to manipulate the list:
- createItem:
- addItem:
- removeItem:
- displayList:
- insertAtBeginning:
- popFromBeginning:
- insertAtEnd:
- DeleteAtEnd:
- insertAfter:
I explained how each function work thoroughly, to find the explanations check
the source file ShoppingList.c