Skip to content

Instantly share code, notes, and snippets.

@domiyanyue
Last active May 3, 2020 21:29
Show Gist options
  • Save domiyanyue/595d561585ada7b4caa77d11626fcbba to your computer and use it in GitHub Desktop.
Save domiyanyue/595d561585ada7b4caa77d11626fcbba to your computer and use it in GitHub Desktop.
header guard example
#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