Skip to content

Instantly share code, notes, and snippets.

@daniilgri
Created February 13, 2019 12:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save daniilgri/9193eccdf37fa2090f9241a792823757 to your computer and use it in GitHub Desktop.
Save daniilgri/9193eccdf37fa2090f9241a792823757 to your computer and use it in GitHub Desktop.
//---------------------------------------------------------------------------
#ifndef DinLstH
#define DinLstH
//---------------------------------------------------------------------------
#endif
#include <stdio.h>
#include <conio.h>
#include <tchar.h>
#define Max_ch 100
struct Itm {
int id;
char Info[Max_ch];
Itm * next, *prev;
} ;
struct List {
char Name[20];
int getId;
Itm * bg, *cur,*end;
} ;
List* CreateList(char* Name,char* Inf);
Itm* AddHead(List* lst,char* Inf);
Itm * CrItm(int Id);
void ViewLst(List* lst);
void DelHead(List* lst);
void DelLst(List* lst);
void ViewLstBk(List* lst);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment