Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Dans le .hpp:
- class Graph {
- public:
- Graph(int n);
- // copy constructor
- Graph(const Graph& graph);
- Graph(const char *filename);
- ~Graph();
- // d'autes trucs...
- }
- // L'appel en question
- Graph evaluationGraph(m_graph);
- // L'erreur de compilation
- error: invalid conversion from ‘Graph*’ to ‘int’ [-fpermissive] Graph evaluationGraph(m_graph);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement