struct ttime {
int hours; int minute; int sec;
};
struct date {
ttime time;
void settime(int, int, int);
void printtime();
};
struct ttime {
int hours; int minute; int sec;
};
struct date {
ttime time;
void settime(int, int, int);
void printtime();
};
#include <stdio.h>
#include "date.h"
void date::settime(int h, int m, int s)
{
time.hours = h;
time.minute = m;
time.sec= s;
}
void date::printtime()
{
printf("%i:%i:%i", time.hours, time.minute, time.sec);
}
#include <stdio.h>
#include "date.h"
int main()
{
date a;
a.settime(23,43,10);
a.printtime();
getchar();
return 0;
}
@font-face {
font-family: "PFAgoraSansPro-Black";
src: url("../fonts/PFAgoraSansPro-Black/PFAgoraSansPro-Black.svg");
src: url("../fonts/PFAgoraSansPro-Black/PFAgoraSansPro-Black.svg?#iefix") format("embedded-opentype"),
url("../fonts/PFAgoraSansPro-Black/PFAgoraSansPro-Black.eot") format("svg"),
url("../fonts/PFAgoraSansPro-Black/PFAgoraSansPro-Black.woff") format("woff"),
url("../fonts/PFAgoraSansPro-Black/PFAgoraSansPro-Black.ttf") format("truetype");
font-style: normal;
font-weight: normal;
}
@font-face {
font-family: "PFAgoraSansPro-Bold";
src: url("../fonts/PFAgoraSansPro-Bold/PFAgoraSansPro-Bold.svg");
src: url("../fonts/PFAgoraSansPro-Bold/PFAgoraSansPro-Bold.svg?#iefix") format("embedded-opentype"),
url("../fonts/PFAgoraSansPro-Bold/PFAgoraSansPro-Bold.eot") format("svg"),
url("../fonts/PFAgoraSansPro-Bold/PFAgoraSansPro-Bold.woff") format("woff"),
url("../fonts/PFAgoraSansPro-Bold/PFAgoraSansPro-Bold.ttf") format("truetype");
font-style: normal;
font-weight: normal;
}
@font-face {
font-family: "PFAgoraSansPro-Light";
src: url("../fonts/PFAgoraSansPro-Light/PFAgoraSansPro-Light.svg");
src: url("../fonts/PFAgoraSansPro-Light/PFAgoraSansPro-Light.svg?#iefix") format("embedded-opentype"),
url("../fonts/PFAgoraSansPro-Light/PFAgoraSansPro-Light.eot") format("svg"),
url("../fonts/PFAgoraSansPro-Light/PFAgoraSansPro-Light.woff") format("woff"),
url("../fonts/PFAgoraSansPro-Light/PFAgoraSansPro-Light.ttf") format("truetype");
font-style: normal;
font-weight: normal;
}
@font-face {
font-family: "PFAgoraSansPro-Medium";
src: url("../fonts/PFAgoraSansPro-Medium/PFAgoraSansPro-Medium.svg");
src: url("../fonts/PFAgoraSansPro-Medium/PFAgoraSansPro-Medium.svg?#iefix") format("embedded-opentype"),
url("../fonts/PFAgoraSansPro-Medium/PFAgoraSansPro-Medium.eot") format("svg"),
url("../fonts/PFAgoraSansPro-Medium/PFAgoraSansPro-Medium.woff") format("woff"),
url("../fonts/PFAgoraSansPro-Medium/PFAgoraSansPro-Medium.ttf") format("truetype");
font-style: normal;
font-weight: normal;
}
@font-face {
font-family: "PFAgoraSansPro-Regular";
src: url("../fonts/PFAgoraSansPro-Regular/PFAgoraSansPro-Regular.svg");
src: url("../fonts/PFAgoraSansPro-Regular/PFAgoraSansPro-Regular.svg?#iefix") format("embedded-opentype"),
url("../fonts/PFAgoraSansPro-Regular/PFAgoraSansPro-Regular.eot") format("svg"),
url("../fonts/PFAgoraSansPro-Regular/PFAgoraSansPro-Regular.woff") format("woff"),
url("../fonts/PFAgoraSansPro-Regular/PFAgoraSansPro-Regular.ttf") format("truetype");
font-style: normal;
font-weight: normal;
}
@font-face {
font-family: "PFAgoraSansPro-UltraBlack";
src: url("../fonts/PFAgoraSansPro-UltraBlack/PFAgoraSansPro-UltraBlack.svg");
src: url("../fonts/PFAgoraSansPro-UltraBlack/PFAgoraSansPro-UltraBlack.svg?#iefix") format("embedded-opentype"),
url("../fonts/PFAgoraSansPro-UltraBlack/PFAgoraSansPro-UltraBlack.eot") format("svg"),
url("../fonts/PFAgoraSansPro-UltraBlack/PFAgoraSansPro-UltraBlack.woff") format("woff"),
url("../fonts/PFAgoraSansPro-UltraBlack/PFAgoraSansPro-UltraBlack.ttf") format("truetype");
font-style: normal;
font-weight: normal;
}