Newer
Older
#ifndef DATASTRUCTURE_H_INCLUDED
#define DATASTRUCTURE_H_INCLUDED
/************************************************************************************************/
/*************************************Objects declaration****************************************/
/************************************************************************************************/
typedef struct sDate{
int day;
int month;
int year ;
} sDate;
typedef struct sTime{
int seconds;
int minutes;
int hours;
} sTime;
typedef struct sCD{
char* title;
char* artist;
unsigned int publicationYear;
unsigned int numberOfSongs;
sSong Songs[MAXSONGS];
} sCD;
/************************************************************************************************/
/***********************************functions declaration****************************************/
/************************************************************************************************/
void inputDate();
/************************************************************************************************/
/***********************************Externvariables****************************************/
/************************************************************************************************/
extern int countCDs;
extern sCD CDData[];