一些杂技
std::ostream_iterator输出¶
std::cout << "t :";
std::copy(tBuffer.begin(), tBuffer.end(), std::ostream_iterator<int>(std::cout, " "));
std::cout << std::endl; // 刷新缓冲区
输出指针¶
std::cout << "the pointers : " << (void*)inputBuf << ',' << (void*)tansBuffer << ',' << (void*)xansBuffer << ',' << (void*)pyansBuffer << std::endl;