- 270 名前:デフォルトの名無しさん [2019/11/26(火) 22:34:50.59 ID:FauhtWma.net]
- #include <iostream>
using namespace std; int main() { string str = "abc"; cout << &str << endl; cout << str << endl; cout << str.c_str() << endl; return 0; } VisualStudio2019のdebugとreleaseとで&strのメモリダンプ内容が異なるのはなぜでしょうか? debug : 78 f7 b6 00 61 62 63 00 release : 61 62 63 00
|

|