compiler like Dev_C++

This is a discussion on compiler like Dev_C++ within the Linux Programming forums, part of the Platform Specific Boards category; Hi,folks~
I installed linux last weekend, and so sad for some unexpected reason I couldnt enter my Windows OS now. ...

compiler like Dev_C++

Hi,folks~

I installed linux last weekend, and so sad for some unexpected reason I couldnt enter my Windows OS now. as known I am learning C++, currently I should keep learning it with linux. And my soft in Win OS is Dev-C++, it is much convenient and small, could any compiler like it available in linux ?

Don't take this the wrong way, but I'm not sure exactly what you're asking. I think the answer is "g++", which should already be installed. On the command line, try running g++, and see if you get anything besides "file not found"

Originally posted by starX Don't take this the wrong way, but I'm not sure exactly what you're asking. I think the answer is "g++", which should already be installed. On the command line, try running g++, and see if you get anything besides "file not found"

I use kate, which is somewhat like notepad++ (filelist, syntax highlighting, console all built in), for small stuff. I use KDevelop for big stuff. A lot of Unix types prefer the older, popular editors, vi and emacs, but they keyboard sequences for them seem downright obtuse coming from experience only in windows.

Originally posted by SilentStrike I use kate, which is somewhat like notepad++ (filelist, syntax highlighting, console all built in), for small stuff. I use KDevelop for big stuff. A lot of Unix types prefer the older, popular editors, vi and emacs, but they keyboard sequences for them seem downright obtuse coming from experience only in windows.

They come with the KDE desktop. You ned to include KDE during installation. I myself am learning Emacs because it is extremely powerful. It is true that it is much different than most of us are used to, however it is classic and it is available for nearly every platform.

It is very difficult to have Microsoft and Linux on the same hard drive because Microsoft in very inflexible. They do not want you to use Linux. Personally I have two hard drives. One for Linux, and one for Windows. It is a duel boot setup. I could tell you how to set yours up like that as long as you have two separate hard disks and Win2k professional as the Microsoft OS. I actually have two computers both duel boot Linux and Win2k.

Though they would seem old, Emacs and Vi are the basic editors when you are coding in Unix environment. You should learn them even if you are going to use just one (or neither ) of them. Linux usually comes with all development tools needed. At least the most common distributions include gcc compiler, Vi, Emacs and gdb debugger. KDevelop comes with KDE.

And installing linux on the same hard drive than Windows is easy. Get GNU Parted, it is a free tool for creating partitions. Create Linux partitions with the boot disk version of Parted which will use a small floppy-Linux. Rawrite.exe is used to create the boot disk in Windows. Usually it's preferable to install Linux AFTER Windows.

I use Anjuta to write the source code and then a makefile to build the project. The IDE has lots of great features like function parameter popups, code completion popups, code condensing, etc. I used to use Emacs and still do for small programs.