我用的VS code,編譯器是MinGW,但只要?jiǎng)?chuàng)建string會(huì)報(bào)錯(cuò),是什么問(wèn)題呢?
代碼如下:
#include <iostream>
#include <string>
using namespace std;
int main(void)
{
std::string fullName = "a";
system("pause");
return 0;
}
報(bào)錯(cuò):
[New Thread 26748.0x68ec]
[New Thread 26748.0x4174]
[New Thread 26748.0x5d7c]
ERROR: During startup program exited with code 0xc0000139.
The program 'c:\Users\Administrator\Desktop\Test\stringTest.exe' has exited with code 0 (0x00000000).
2019-07-21
“a"