For the error g++.exe: error: a.cpp: No such file or directory
g++.exe: fatal error: no input files
Compilation terminated.
Compile with the following code
g++ ..\a.cpp -o h
run with
.\h