Advertisement
Guest User

Untitled

a guest
Apr 19th, 2019
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.39 KB | None | 0 0
  1. // Dans le .hpp:
  2. class Graph {
  3.  public:
  4.     Graph(int n);
  5.  
  6.     // copy constructor
  7.     Graph(const Graph& graph);
  8.  
  9.     Graph(const char *filename);
  10.  
  11.     ~Graph();
  12.  
  13. // d'autes trucs...
  14. }
  15.  
  16. // L'appel en question
  17. Graph evaluationGraph(m_graph);
  18.  
  19. // L'erreur de compilation
  20. error: invalid conversion from ‘Graph*’ to ‘int[-fpermissive] Graph evaluationGraph(m_graph);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement