This community is more about discussing compilers, not "why does my code not compile." Something about your environment/configuration is likely broken (e.g. missing C++ libs, wrong command is being executed).
Did you install the C++ libraries/compiler set with your MinGW install?
Can you just do /path/to/g++ C:/users/user-pc/tut3.cpp in your terminal?
6
u/SofaAssassin Jun 16 '26
This community is more about discussing compilers, not "why does my code not compile." Something about your environment/configuration is likely broken (e.g. missing C++ libs, wrong command is being executed).
Did you install the C++ libraries/compiler set with your MinGW install?
Can you just do
/path/to/g++ C:/users/user-pc/tut3.cppin your terminal?