Skip to content

Instantly share code, notes, and snippets.

View zindo14's full-sized avatar

Nikola Zindović zindo14

View GitHub Profile
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdbool.h>
//Multi Linked List
struct client {
//structure for users Information
int cardNumber;
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdbool.h>
struct client {
int id;
int card_number;
char *name;
int pin;
/*
* singly_linked_list.c
*
* Demo of singly-linked list using simplified Process struct
*
* I made this for the 2019 KPMG Lunch and Learn series entitled,
* "A heuristic approach to coding in C on Windows"
*/
#include <stdio.h>
@arn-ob
arn-ob / Self_referential_struct.c
Last active January 10, 2021 20:47
Main drive program to process a linked list of strings
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
#define NULL 0
struct list_element
{
char item[40];
struct list_element *next;
@taddev
taddev / listExample.c
Created February 28, 2013 00:02
This program demonstrates a simple doubly linked list used to store names and phone numbers. There are methods to add, search, edit, delete, and print records. This program ignores user input validation since pointer and memory manipulation are the key goals.
/*
* Author: Tad DeVries <[email protected]>
* Date: 2013/02/27
*
* Language: C
*
* Description: This program demonstrates a simple doubly linked list
* used to store names and phone numbers. There are methods to add, search,
* edit, delete, and print records. This program ignores user input validation
* since pointer and memory manipulation are the key goals.