Hi,

I did a search but all I found were topics too advanced for me to understand. I would like to simply declare a shared_ptr and know what includes I need to do it. I've seen some people use boost:: and some use std::tr1 which confuses me as I've never heard of boost or tr1 and I hear raw pointers are on the way out from modern code so I need to learn to use smart ones.

Can anyone help? I tried:
Code:
#include <memory>

int main ()
{
    std::shared_ptr<int> myPointer;

    return 1;
}
But my compiler rejected it. ANy ideas? Thanks so much.

Chris