AHMED 8:59 ص Home » برمجة » برنامج نسخ الوقت باستخدام structure برنامج نسخ الوقت باستخدام structure برمجة #include "stdafx.h" #include<iostream> #include<conio.h> using namespace std; struct time { int hour; int min; int sec; }; void main() { time t1 = { 12, 22, 33 }; time t2; t2 = t1; cout << t2.hour << ": " << t2.min << ": "<< t2.sec; _getch(); } كاتب الموضوع : احمد عبد الكريم المزيد من الدروس و القوالب على احمد عبد الكريم شارك : Facebook Twitter Google+ StumbleUpon Digg Delicious LinkedIn Reddit Technorati
0 التعليقات:
إرسال تعليق