Skip to content

DevMajed/ShoopingList

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

  1. createItem:
  2. addItem:
  3. removeItem:
  4. displayList:
  5. insertAtBeginning:
  6. popFromBeginning:
  7. insertAtEnd:
  8. DeleteAtEnd:
  9. insertAfter:

I explained how each function work thoroughly, to find the explanations check
the source file ShoppingList.c

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages