c++ programming in Linux.
Hi everybody,
I'm relatively new to Linux and I would like to know if anyone knows a good open source c++ ide for Linux. I'm using Opensuse 13.2 64bit. |
It depends on what you want.
Linux development is about the same, whether it is C or C++. The tools are available. |
Quote:
I would have thought Eclipse by the way, being the only IDE that I know of. Eclipse handles a number of languages. |
gnome or KDE ?
opensuse has a bunch in the repos Qt-creator5 Anjuta Geany kdevelop4 AND a suse "pattern" on top of that patterns-openSUSE-devel_ide - Integrated Development Environments |
emacs?
|
i am a new Linux user and student who used to write C or C++ programs on MS-Windows. Now, I am using Ubuntu Linux. How can I compile a C or C++ program on Linux operating systems using bash Terminal application?
|
Quote:
supposing you know how to write a C program in the first place. of course there's always the man page: Code:
man gcc i'm sure your extensive web searches have returned something? |
$ g++ -o executable program.cpp
Is your basic way to compile a C++ program from the command line. Use gcc for the C program. And probably a half dozen other ways. Emacs or Vim are common CLI based options for IDEs. Although a stiff learning curve. Emacs does have a GUI variant. Various other gui options too, eclipse, anjuta, bluefish, plus many many text editors. |
As frieza says, emacs. But I don't know too much about emacs with C++, I always use it for C.
emacs integrates well with GDB so that you can run a debugger session from within the editor. I don't run debugger sessions from within my editor much. I perform my Makes and compiles through the command line. I'm not a big subscriber to IDEs. In fact, when using Visual C# or Qt, if you read the forums and such and ask for a specific example like Quote:
Quote:
Code:
buttonName->accessMethod = senior Always helps me to be a better coder when I'm directly involved with the code itself. Other suggestions like g++ for C++ and gcc for C are on the mark too. Are you already knowledgeable about C++? If also just starting with programming I'd recommend starting with C and then moving to C++. |
All times are GMT -5. The time now is 07:52 AM. |