failed to build
Closed this issue · 1 comments
uthakkar817 commented
Starting build...
cmd /c chcp 65001>nul && C:\mingw64\bin\g++.exe -g -std=c++20 C:\repos\C++FromUdemy\VSCODEGCCCONFIGURATION*.cpp -o C:\repos\C++FromUdemy\VSCODEGCCCONFIGURATION.vscode\rooster.exe
cc1plus.exe: fatal error: C:\repos\C++FromUdemy\VSCODEGCCCONFIGURATION*.cpp: Invalid argument
compilation terminated.
Build finished with error(s).
uthakkar817 commented
Resolved.
My file was saved as .c++ instead of .cpp.
I corrected and then it compiled correctly