Suppose I've just written a program called calculator.cpp. In VS Code, when I hover over the tab for the file, it says the following: "~/Documents/classes/spring2020/csc160/calculator.cpp". In the terminal panel of VS Code, when I type pwd, the following comes up:
/Users/hfeild/Desktop
What commands do I need to enter in the terminal to compile my program to an executable named calculator in the same folder as the source code file and then run the executable?
158091180002/05/202009:10am
Additional Comments:
Rubric
Can't change a rubric once you've started using it.