I am currently practicing shared_ptr's, but for some reason my code always gives me a Run Time Error at one particular line ("cout << crt << "Class -> " << _Class << crt;"). So far whatever I've done, I've been unable to figure out what the problem would be.
Does anyone know what the reason could be?
Due to the number of lines, the code is pasted on pastebin.com/nhFZm3xF instead of in the topic.