Skip to content

Instantly share code, notes, and snippets.

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <conio.h>
typedef int bool;
#define true 1
#define false 0
typedef struct{
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <conio.h>
typedef int bool;
#define true 1
#define false 0
typedef struct{
void Get (struct KNYGA a[], int *i)
{
int t;
for(t=0; t<*i; t++)
{
strcpy(a[t].pavadinimas, a[t+1].pavadinimas);
strcpy(a[t].autorius, a[t+1].autorius);
a[t].puslapiu = a[t+1].puslapiu;
a[t].metai = a[t+1].metai;
a[t].versta = a[t+1].versta;
void Get (struct KNYGA a[], int *i)
{
int t;
for(t=0; t<*i; t++)
{
strcpy(a[t].pavadinimas, a[t+1].pavadinimas);
strcpy(a[t].autorius, a[t+1].autorius);
a[t].puslapiu = a[t+1].puslapiu;
a[t].metai = a[t+1].metai;
a[t].versta = a[t+1].versta;