
8 Apr
2009
8 Apr
'09
5:55 p.m.
fabricio wrote:
Hi, thanks for the answers, but using Graph* does not work, it is an invalid cast from Graph& to Graph* the Visual C++ gives me a C2440 error (type cast error) when I try to make Graph* g1 = g.subgraph();
Of course you should write Graph* g1 = &g.subgraph(); Regards, Thomas