Question: #UBUNTU G++ When I run this command: g++ -std=c++17 -Wall -Icatch.hpp CalcList.cpp PP1Test.cpp I got this warning: cc1plus: warning: catch.hpp: not a directory . I

#UBUNTU G++

When I run this command: g++ -std=c++17 -Wall -Icatch.hpp CalcList.cpp PP1Test.cpp

I got this warning: cc1plus: warning: catch.hpp: not a directory.

I put all my files in the same folder, I updated the latest G++, updated Ubuntu. I dont know what happen. I Googled and I saw someone said that I need to put a dot after -I, so I changed my command to: g++ -std=c++17 -Wall -I .catch.hpp CalcList.cpp PP1Test.cpp then nothing happend (not show up anything), I mean it supposed to say success or failed or error, but it does not say anything and lets me to type other command. Please help, THANKS!

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!