Hi,
The following code throws a segmentation fault at runtime and I can't figure out why. Perhaps somebody can help. The code defines a class X whose constructor takes an integer n and creates dinamically an array of n vector<int>(n). The destructor will free this memory. The class appears to...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.