fork download
  1. #ifndef BASE_H
  2. #define BASE_H
  3. #include <iostream>
  4. #include <fstream>
  5. #include <windows.h>
  6. #include <cstdlib>
  7. #include <iomanip>
  8. #include <conio.h>
  9. using namespace std;
  10.  
  11. const char* file = "jurnal";
  12. char* r(char* buf);
  13. char a[256];
  14. char* r(char* b)
  15. {
  16. CharToOem(b, a);
  17. return a;
  18. }
  19. inline void eatline()
  20. {
  21. while (cin.get() != '\n')
  22. continue;
  23. }
  24. struct Stud {
  25. int number;
  26. char prizv[15];
  27. char name[15];
  28. char batk[15];
  29. double istor_ukr;
  30. double informatic;
  31. double fizika;
  32. double matem;
  33. double ukr_mov;
  34. double ukr_lit;
  35. double in_mov;
  36. double fizra;
  37. double biologia;
  38. double geografiy;
  39. double seredniy_bal;
  40. char clas[15];
  41. };
  42.  
  43. class Base{
  44. int a, num, j, b, g;
  45.  
  46. public:
  47. Stud ob;
  48. void menu();
  49. void next();
  50. void provirka();
  51. void look();
  52. void enter();
  53. void poshyk();
  54. void sort();
  55. void redac();
  56. void delet();
  57. };
  58.  
  59. #endif // BASE_H
  60.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp:5:10: fatal error: windows.h: No such file or directory
 #include <windows.h>
          ^~~~~~~~~~~
compilation terminated.
stdout
Standard output is empty