What implemetation for a copy on write pointer do you recommend that I use, since it's not a completely standard thing? I found the link to
http://code.axter.com/cow_ptr.h, used it, and it crashed. I am compiling with visual studio v8.0 without a glitch and I am starting to think I just didn't understand how to use the pointer. Below, I attach a simple program that crashed, but works fine with a copy pointer from
http://code.axter.com/copy_ptr.h. Thanks a lot in advance for your help