I am having problem executing a cpp file after compilation. Here is the text output and how I compile it and try to run.
coovi@coovi-Surface-Book:~/HW9$ g++ -Wall main.cpp -g -o main
coovi@coovi-Surface-Book:~/HW9$ chmod +x main
coovi@coovi-Surface-Book:~/HW9$ ./main
Can not open the file