Loading User Information from Channel 9
Something went wrong getting user information from Channel 9
Loading User Information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
Stephan T. Lavavej - Core C++, 8 of n
Feb 05, 2013 at 12:15 PMHere's another extremely common do-while example -- interfacing with most many C APIs. For instance:
std::vector<unsigned char> buffer; unsigned int bufferLen = 0; unsigned int error = 0; do { buffer.resize(bufferLen); error = ::SomeCApi(buffer.data(), &bufferLen); } while (error == ERROR_MORE_DATA);Mohsen Agsen - C++ Today and Tomorrow
Jun 10, 2011 at 6:36 PMI would love to be able to build for Windows XP RTM, and Windows XP SP1, while not giving up the newer C++ features. That's not really language specific, I guess.