fork download
  1. #ifndef DATE_H
  2. #define DATE_H
  3. #include <QString>
  4.  
  5. class Date{
  6. public:
  7. Date();
  8. Date(int d, int m, int y);
  9. Date(QString date);
  10. private:
  11. int day, month, year;
  12. };
  13.  
  14. #endif // DATE_H
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp:3:19: fatal error: QString: No such file or directory
 #include <QString>
                   ^
compilation terminated.
stdout
Standard output is empty