Problem with const qualifiers to get private atributes of an object
I'm a completely new to C++ and I'm having a very stupid problem. I have a Graph class and I need to create a copy constructor for it. This is my class: #include <igraph.h> #include <iostream> using namespace std; class Graph { public: Graph(int N); // contructor ~Graph(); // destructor Graph(const Graph& other); // Copy ...