1Lesson 1 of 23
Work from the right folder
A terminal command always runs from one folder called the current working directory. If you type g++ main.cpp, the compiler first looks for main.cpp in that current folder.
g++ main.cpp
main.cpp