It has a different interface than DevC++, and I can't seem to make .cpp files run on their own. So far I have this code for my sample.cpp:
using namespace std;
cout << "Hi." << endl;
I commented out #include <sample.h> because I forgot what to put there and how it works.
So I opened the thing that oversees the project, the window where you can see the .ccp and .h files along with a whole lot of things on the left side. I selected Build and Run but there's an outside code error:
Command/Developer/usr/bin/g++-4.0 failed with exit code 1
So, does anyone know how to work this code? Is there a way to make codes run by themselves? Like making them compile and run alone on as .cpp files like what you can do in Dev C++?
Uhm ok, I found that inside the Build Drop down menu, you have compile and from the window that opens (Build Results), you can run the code. I tried running the code but there's a problem, everything comes out well, along with the build and run log and a window opens. I guess the program is supposed to execute inside that Window but it's a white blank window.
Any ideas anyone? I think I found the way to make codes work but making them display the output it tricky. I'd really appreciate help.