سلام میشه یک برنامه ساعت با زبان c++برای من بنویسید
سلام میشه یک برنامه ساعت با زبان c++برای من بنویسید
دوست عزیز این برنامه کلاس time و برنامه راه اندازش میباشد
// fig.9.1:time.h// declaration of class time.// member functions are defined in time .cpp// prevent multiple inclustions of header file# finder time_h#define time_h//time class definitionClass time{Public:Time ();// constructorVoid settime(int,int,int);//set hour,minute and secondVoid printuniversal();//print time in universal-time formatVoid printstandard();//print time in standard-time formatPrivate:Int hour;//0-23(24-hour clock format)Int minute;//0-59Int second;//0-59};//end class time#end if
هم اکنون 1 کاربر در حال مشاهده این تاپیک میباشد. (0 کاربر عضو شده و 1 مهمان)