rutura/The-C-20-Masterclass-Source-Code

failed to build

Closed this issue · 1 comments

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).

Resolved.
My file was saved as .c++ instead of .cpp.
I corrected and then it compiled correctly