ياجماعة الخير أنا مبتدئ في تعلم لغة c++ وسويت برنامج بسيط وأريد كيفية التعامل مع الوقت فأنا سويته من نوعint فمثلا
#include <iostream>
using namespace std:
int main()
{
int start_time,end_time;
cout<<"Please Enter the start time.. ";
cin>>start_time;
if (start_time > 8:30)
cout <<"the time is bigger than 8:30"
else
cout <<"the time is less than 8:30"
return 0
}
