Last active
May 3, 2020 21:29
-
-
Save domiyanyue/595d561585ada7b4caa77d11626fcbba to your computer and use it in GitHub Desktop.
header guard example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include "time.h" | |
#include "util.h" | |
int main(){ | |
Time t; | |
t.hour = 2; | |
t.minute = 10; | |
printTime(t); | |
std::cout << "is Day time? " << isDayTime(t) << std::endl; | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment