#include "stdafx.h"
#include <iostream>
#include <string>
using namespace std;
int _tmain(int argc, _TCHAR* argv[])
{
string test("just a test");
string* ptrOne=&test;
string* ptrTwo=&test;
string** ptr=&ptrOne;
cout<<ptr<<endl;
cout<<ptrOne<<""r"n"<<ptrTwo<<endl;
if(ptrOne==ptrTwo)
cout<<"it is the same address"<<endl;
cin>>test;
return 0;
}