Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
Wouldn't it much easier to just use XCode and write a console program ? Cost nothing, download from AppStore and get the basic done with with the help of the GUI. Once it's run you could (if you really) want use the command line mode of Xcode; but why these days.
Sorry, Borland I did not see in the last 20 years; my memory how it looks are vanished. My memories on XCode are fresh ;)
 
You are right to some extent. I am willing to work with Eclipse, which I find decent, but I'm kinda stuck and don't know what to do next, and what irritates me is that its not the coding part, its the building and running part.

Which suggests spending some time learning how to use Eclipse, perhaps with a tutorial on Eclipse.

Possible google search terms:
eclipse tutorial
eclipse tutorial c++
eclipse tutorial c++ mac
 
Oh, that's most likely because Eclipse doesn't know where your C++ compiler is located. This is set in the preferences -> C++.

What to do here?
 

Attachments

  • Screen Shot 2012-07-25 at 2.11.47 AM.png
    Screen Shot 2012-07-25 at 2.11.47 AM.png
    76.2 KB · Views: 95
Just as an aside you should always use the following command line options when compiling with GCC or G++:

Code:
-Wall -Wextra -pedantic

this will ensure that the compiler warns you if you are doing anything stupid.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.