no teraz może mnie nie banujcie za nick ok?
kod wygląda tak
#include <iostream>
using namespace std;
int main()
{
cout << "nic";
}
dostaje błąd segmentation fault, kompilatorem jest g++,
takie coś wpisuje mi visual studio code w terminalu
C:\msys64\mingw64\bin\g++.exe -fdiagnostics-color=always -g "C:\Users\asd\OneDrive\Dokumenty\cpp projects\secondproject.cpp" -o "C:\Users\asd\OneDrive\Dokumenty\cpp projects\secondproject.exe"
i jest Build finished successfully.
a taki jest błąd
Thread 1 received signal SIGSEGV, Segmentation fault.
0x00007ff8a6bf91c6 in std::basic_ostream<char, std::char_traits<char> >::sentry::sentry (this=this@entry=0x5ffde0, __os=...) at ./build/x86_64-w64-mingw32-posix/x86_64-w64-mingw32/libstdc++-v3/include/bits/ostream.tcc:51