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. ...

  1. #1
    flashing vampire black's Avatar
    Join Date
    May 2002
    Posts
    563

    Question 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 ?

    thanx in advance~
    Never end on learning~

  2. #2
    Registered User
    Join Date
    Aug 2001
    Posts
    202
    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"

    starX
    www.axisoftime.com

  3. #3
    flashing vampire black's Avatar
    Join Date
    May 2002
    Posts
    563
    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"

    starX
    www.axisoftime.com
    sorry I'm newbie to linux, did you mean I have had a compiler already ? is it a simply compiler or some kind of software ? Maybe I need a software which contains a compiler and IDE.
    Never end on learning~

  4. #4
    Registered User
    Join Date
    Aug 2001
    Posts
    202
    g++ is command line driven. If you've writtn a file hello.cpp you would compile it with "g++ hello.cpp"

    starX
    www.axisoftime.com

  5. #5
    flashing vampire black's Avatar
    Join Date
    May 2002
    Posts
    563

    Question

    Originally posted by starX
    g++ is command line driven. If you've writtn a file hello.cpp you would compile it with "g++ hello.cpp"

    starX
    www.axisoftime.com
    then where should I write codes ? inside something like notpad ?
    Never end on learning~

  6. #6
    geek SilentStrike's Avatar
    Join Date
    Aug 2001
    Location
    NJ
    Posts
    1,141
    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.
    Prove you can code in C++ or C# at TopCoder, referrer rrenaud
    Read my livejournal

  7. #7
    flashing vampire black's Avatar
    Join Date
    May 2002
    Posts
    563
    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.
    Small and convenient, that's what I want~

    SilentStrike, Would you mind indicating me how could I get it ?
    Never end on learning~

  8. #8
    Banned Troll_King's Avatar
    Join Date
    Oct 2001
    Posts
    1,784
    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.

  9. #9
    Registered User
    Join Date
    Jun 2002
    Posts
    25
    Dev-C++ is availible for Linux. you can find it at http://http://sourceforge.net/projects/dev-cpp/

    it looks like you'll have to compile it from source, which might seem overwhelming to you at first. it's really easy. just make sure to read all of the documentation that comes with the code...

  10. #10
    Registered User raimo's Avatar
    Join Date
    Jun 2002
    Posts
    107
    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.

  11. #11
    tgm
    tgm is offline
    Registered User tgm's Avatar
    Join Date
    Jun 2002
    Posts
    150
    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.

  12. #12
    Registered User
    Join Date
    Aug 2001
    Posts
    202
    Ugh! Fscking popups! Give me emacs and a command line cmopiler and debugger any day, I say. Using that combo'll make a man out of you, trust me

    starX
    www.axisoftime.com

  13. #13
    flashing vampire black's Avatar
    Join Date
    May 2002
    Posts
    563
    thanx all guys who reply~

    I've downloaded the package already, and how could I install it ? it was with a tar type.

    thanx in advance~
    Never end on learning~

  14. #14
    Registered User
    Join Date
    Jun 2002
    Posts
    106
    g++ comes with all linux dist. and Kdevelop is the best ide at all you can download it from www.kdevelop.org
    C++ Makes you Feel Better

    "Gravity connot be held reponsible for people falling in love"--Albert Einstein

  15. #15
    flashing vampire black's Avatar
    Join Date
    May 2002
    Posts
    563
    oh...it is unlucky Dev-C++ met some trouble. I followed the instruction and installed it. As instruction said I could enjoy Dev-C++ with inputing this line:

    ./devcpp

    I did but nothing happened, I waited and tens of minutes passed nothting happened yet, What's wrong ???
    Never end on learning~

Page 1 of 2 12 LastLast
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. added start menu crashes game
    By avgprogamerjoe in forum Game Programming
    Replies: 6
    Last Post: 08-29-2007, 02:30 PM
  2. Compiler Paths...
    By Cobra in forum C++ Programming
    Replies: 5
    Last Post: 09-26-2006, 05:04 AM
  3. C Compiler and stuff
    By pal1ndr0me in forum C Programming
    Replies: 10
    Last Post: 07-21-2006, 12:07 PM
  4. I can't get this new compiler to work.
    By Loduwijk in forum C++ Programming
    Replies: 7
    Last Post: 03-29-2006, 06:42 AM
  5. how to call a compiler?
    By castlelight in forum C Programming
    Replies: 3
    Last Post: 11-22-2005, 11:28 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21