Changes between Version 4 and Version 5 of Coding_Conventions
- Timestamp:
- Aug 12, 2009, 7:10:04 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Coding_Conventions
v4 v5 76 76 }}} 77 77 78 * Use `CStr` instead of `std::string`. Use `CStrW` instead of `std::wstring`.79 80 78 * Use STL when appropriate. 81 79 82 80 * ... 81 82 == Strings == 83 84 Use `CStr` instead of `std::string`. Use `CStrW` instead of `std::wstring`. 85 86 For portability, use the following formats for printf-style functions: 87 {{{ 88 printf("%s", "char string"); 89 printf("%ls", L"wchar_t string"); 90 wprintf(L"%hs", "char string"); 91 wprintf(L"%ls", L"wchar_t string"); 92 }}} 83 93 84 94 = Old document =