Hello, I was trying to program the current time and the time left for lunch, but it indicates that there was an error saying: error: ccc_time.h: No such file or directory|
What is wrong with the system? I have CodeBlocks by the way.
#include <iostream>
#include "ccc_time.h"
using namespace std;
int main()
{
Time current_time(10, 0, 0);
current_time.add_minutes(50);
cout << current_time.gethours() << ":" << current_time.getminutes() << ":" << current_time.getseconds();
Time now;
int minutes_left = Time(12, 0, 0).minutes_from(now);
cout << "There are " << miuntes_left << " minutes left for lunch.\n";