fork download
  1. #include "pq.h"
  2.  
  3. class Item{
  4. public:
  5. Item(){};
  6. Item(const Item &item){}
  7. };
  8.  
  9.  
  10. PQ<class Item>::PQ(int n){};
  11.  
  12. int PQ<class Item>::empty() const{
  13. return 1;
  14. }
  15.  
  16. void PQ<class Item>::insert(Item item){
  17.  
  18. }
  19.  
  20. Item PQ<class Item>::getmax(){
  21. return new Item();
  22. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.c:1:16: fatal error: pq.h: No such file or directory
compilation terminated.
stdout
Standard output is empty