我用的VS code,编译器是MinGW,但只要创建string会报错,是什么问题呢?
代码如下:
#include <iostream>
#include <string>
using namespace std;
int main(void)
{
std::string fullName = "a";
system("pause");
return 0;
}
报错:
[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).