Skip to content

Instantly share code, notes, and snippets.

//create by Do Duy Cop - 7:46 17/04/2015
#include <iostream.h>
#include <conio.h>
class mytime{
private:
int h,m,s;
void showNum(int n){if(n<10)cout<<0;cout<<n;}
public:
mytime(int hh=0,int mm=0, int ss=0){
h=hh;m=mm;s=ss;