Created
November 6, 2013 20:59
-
-
Save dovilemik/7343970 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
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <conio.h> | |
typedef int bool; | |
#define true 1 | |
#define false 0 | |
typedef struct{ | |
char pavadinimas[20]; | |
char autorius[20]; | |
int metai; | |
int puslapiu; | |
bool versta; | |
char stilius; | |
} duomenys; | |
typedef struct S{ | |
duomenys duom; | |
struct S *sekantis; | |
struct S *buves ; | |
} S; | |
void Initialize(S**); // <- Kodėl čia yra S** , o kitur S* ? :D | |
void Push(S**, duomenys x); | |
void Pop(S**); | |
void Top(S**); | |
void Kill(S**); | |
void Print(S*); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment