Why is it that when I try to run a program on my compiler, nothing happens. Instead, the editor opens up! I created many basic programs in the past and they all executed to success. I haven't changed any options, so what gives? I think the solution is to locate the options where I can choose how and where I want my lines of code to open. The problem is that I don't know how to do that. I'm working on the basics of c++ programming in order to prepare myself for my upcoming CS courses. Any suggestions? I'm thinking about call Geeksquad, but I know this is a problem I can solve by myself and with the help of the Internet.
I understand. For example, the name of one of my executable files is hotchocolate.cpp. when I type in that file into the command line, nothing happens. In the past, I would try to run this same file but to success. I don't know what changed in the settings for the it not to run anymore.
No, hotchocolate.cpp is most likely the file containing your code. When you compile hotchocolate.cpp (assuming it contains the whole program) another file will be created. You should try to run that one instead.
Peter87, you are a genius of the highest order! I am not worthy....haha, in all seriousness, You were absolutely correct. The command to run the program is the name I gave it and not ending with .cpp. All I have to say is thank you man. We'll keep in touch....✌🏽