GMLwriter::writeis not a static GMLwriter function, you need to call it through an object. For instance:
GMLwriter gml_writer;
gml_writer.write(argv[3], Users, edges);
If it is GMLwriter::writenot dependent on any state of the GMLwriter (access to any member GMLwriter), you can make it a static member function. Then you can call it directly without an object:
class GMLwriter
{
public:
static bool write(const char *fn, MyList<User*>& my_vec, vector<string>edges);
^^^^
};
then you can call:
GMLwriter::write(argv[3], Users, edges);