Guest User

everyone.h

a guest
Aug 31st, 2016
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.94 KB | None | 0 0
  1. #include <iostream>
  2. #include <fstream>
  3. #include <cstring>
  4. #include <vector>
  5. #include <algorithm>
  6. #include <thread>
  7. //#include <utility>
  8.  
  9. #define daily "todo.daily"
  10. #define today "todo.today"
  11. #define monday "todo.monday"
  12. #define tuesday "todo.tuesday"
  13. #define wednesday "todo.wednesday"
  14. #define thursday "todo.thursday"
  15. #define friday "todo.friday"
  16. #define saturday "todo.saturday"
  17. #define sunday "todo.sunday"
  18.  
  19. using namespace std;
  20. ofstream fout;
  21. ifstream fin;
  22.  
  23. struct item {
  24.     string title;
  25.     short level = 1;
  26.     string depends = "none";
  27.     string description;
  28.     short urgency = 10;
  29.     short importance = 10;
  30.     double nice () {
  31.         return 1.5 * urgency + importance;
  32.     }
  33.     unsigned int number;
  34. };
  35.  
  36. #include "functions/number.cpp" // Yes, I know that I shouldn't have included .cpp files like this. Will fix this later
  37. #include "functions/get.cpp"
  38. #include "functions/invoke.cpp"
  39. #include "functions/make.cpp"
Advertisement
Add Comment
Please, Sign In to add comment