0
Whats wrong!!!
#include "ccc_time.h" #include <iostream> using namespace std; int main() { Time wake_up(7, 0, 0); wake_up.add_seconds(1000); cout << wake_up.get_hours()<< ":" << wake_up.get_minutes()<< ":" << wake_up.get_seconds() << "\n"; return 0 ; }
2 Antworten
+ 2
BUILD ERROR THAT I FOUND:
|fatal error: ccc_time.h: No such file or directory|
SOLUTION: You need to create an additional header (*.h) file for your code.
+ 1
Do you mean #include <ctime> or #include <time.h> instead of #include "ccc_time.h"?