Table of Contents

1. g++: error: "No such file or directory. fatal error: no input files."

Error:

g++: error: No such file or directory. fatal error: no input files.

Solution:

This means that you used "Open Folder" in the wrong location. Please make sure to open up the subfolder for a given practice or graded program to work on in VS Code.


2. make: "make is not recognized as the name of a cmdlet."

Error:

make : The term 'make' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify
that the path is correct and try again.
At line:1 char:1
+ make debug
+ ~~~~
+ CategoryInfo : ObjectNotFound: (make:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException

Solution:

You need to go to C:\MinGW\bin on your computer and rename the "mingw32-make.exe" program to "make.exe".

Author: RachelWil

Created: 2026-07-06 Mon 12:40

Validate