Created
February 13, 2019 12:06
-
-
Save daniilgri/9193eccdf37fa2090f9241a792823757 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
//--------------------------------------------------------------------------- | |
#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