У меня в настоящее время есть вектор указателей, как бы я cout информация по определенному указателю в векторе?
cout
Я смотрю, как почтить адрес, сохраненный в векторе.
vector<MyType*> addressList; cout<<(*(addresssList[i])).Data ; //assuming Data is the content you want to output and you would like to output the content addressed by the `ith` element.
std::vector<int*> ints; for ( auto cur = ints.begin(); cur != ints.end(); ++cur) { std::cout << (*(*cur)) << "\n"; }