Load a binary file with C++
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 bool LoadBinaryFile(std::wstring const& path, std::vector<unsigned char>& data) { try { std::basic_ifst...
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 bool LoadBinaryFile(std::wstring const& path, std::vector<unsigned char>& data) { try { std::basic_ifst...
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 std::wstring fromAscii(const char* str) { std::wstring sOutput; int inputLength ...
1. Header 1 2 3 #define BOOST_TEST_MODULE TestExample #include using namespace boost::unit_test; 2. Linked library 1 libboost_unit_test_framework-vc100-mt-s...
I have found very useful articles for understanding COM threading model about Apartment. If you want to understand COM Apartment model, the following article...
오랜만에 다시 C++책을 읽으면서 아래의 C++ exception에 대한 자세한 사항을 늘어 봅니다. 1. exception object are always copied - 복사할때 항상 static type정보를 이용해서 복사한다는 사실. 2. exception are fewer...