Эта проблема возникла при попытке запустить простую программу cpp с кодом.
код:
#include <iostream>
#include <cstdio>
using namespace std;
int a,b;
int main()
{
int c;
scanf("%d%d",&a,&b);
c = a + b;
printf("%d", c);
return 0;
}
Проблема:
In file included from E:/software/wingw64/mingw64/lib/gcc/x86_64-w64-mingw32/8.1.0/include/c++/ext/string_conversions.h:41,
from E:/software/wingw64/mingw64/lib/gcc/x86_64-w64-mingw32/8.1.0/include/c++/bits/basic_string.h:6361,
from E:/software/wingw64/mingw64/lib/gcc/x86_64-w64-mingw32/8.1.0/include/c++/string:52,
from E:/software/wingw64/mingw64/lib/gcc/x86_64-w64-mingw32/8.1.0/include/c++/bits/locale_classes.h:40,
from E:/software/wingw64/mingw64/lib/gcc/x86_64-w64-mingw32/8.1.0/include/c++/bits/ios_base.h:41,
from E:/software/wingw64/mingw64/lib/gcc/x86_64-w64-mingw32/8.1.0/include/c++/ios:42,
from E:/software/wingw64/mingw64/lib/gcc/x86_64-w64-mingw32/8.1.0/include/c++/ostream:38,
from E:/software/wingw64/mingw64/lib/gcc/x86_64-w64-mingw32/8.1.0/include/c++/iostream:39,
from c:\Users\Wolfram\Desktop\ss\project\a+b.cpp:1:
E:/software/wingw64/mingw64/lib/gcc/x86_64-w64-mingw32/8.1.0/include/c++/cstdlib:75:15: fatal error: stdlib.h: No such file or directory
#include_next <stdlib.h>
^~~~~~~~~~
compilation terminated.
Это меня сильно смутило. Не было этой проблемы всего неделю назад. Что мне делать дальше?