On 2013-02-28, triger772 <triger772@no-mx.forums.opensuse.org> wrote:
> Sorry for my few questions I ask in the last time.
No problem. You probably should have posted this in the programming/scripting subforum though as you might have had a
better response.
> As part of my moving to Opensuse as my main OS, I’m looking for c/c++
> compiler that looks/do the same as visual studio software.
You are confusing a compiler with an IDE (or Integrated Developer Environment). The Microsoft compiler (mcc) is part of
the visual studio sofware but there is a lot more on top in addition to a compiler (such as a code editor). In Linux you
have choice, and using any one compiler does not lock you into your choice of IDE. But if you looking for c/c++ compiler
that works well with Linux, then a good starting point is gcc.
> I did search the forum and found some names like Eclipse CDT.
The Eclipse suite of software is popular among the free various IDEs. Other popular examples are Netbeans and KDevelop.
I cannot recommend any IDE in particular because I am not sufficiently familiar with them. I dislike IDEs and would
recommend anyone learning to code in Linux to avoid them because they make you lazy and lock you into their way of doing
things which it seems Visual Studio has done to you :). All you need is a text editor (such as kate or gedit, although I
already find those too fancy!) and a compiler.
> I want a graphic interface that will work like visual studio with all
> the colors and spaces.
I am not familiar with MFC implementations in Linux. Personally, I would avoid them like the plague, but you may have
your reasons.
> first question: which software is the best to do the job?
It depends what are trying to do. There is no one best. If you talking about compiling c/c++, I’m sure gcc will do fine
for you. If you insist on using an IDE, then you have to experiment with the different ones you are interested in,
because (like KDE vs GNOME) it’s just a matter of personal taste.
> second question: how do I install it and use it?
To install gcc, just `sudo zypper in gcc’. To install an IDE, it depends on which one, but generally they are very easy
to install. IIRC Eclipse just requires the lastest Java Runtime Environment and you just run the binary directly from
the download.
Thank you very much for your helpful help. Opensuse is a really good
OS. Untill now, I’m inlove with it.
Helpful help'... hmmm :). Based on your confusion, it looks like you are a beginner. I strongly suggest you read the opening chapters to Zed Shaw's
Learn c the Hard Way’ Learn C the Hard Way .