Thread: Best UNIX/Linux C++ Editor

  1. #1
    Registered User
    Join Date
    Nov 2001
    Posts
    1,348

    Best UNIX/Linux C++ Editor

    Hi.

    The spring semester began at my college this week. I registered for a "special" class that is not about learning C++, but it is about working in teams to solve problems using C++. We enter into competitions statewide against other universities. So this is a pretty serious journey I am traveling.

    We code in the UNIX environment. I have had previous experience with Linux including Red Hat and Debian. I do not have problems managing the OS. However, I have been using Visual C++ 6 and .NET only. I began using UNIX vi C++ editor this week. It is quite easy, but is tedious when it comes to coying and pasting.

    Anyways, what is the best UNIX C++ editor?

    Thanks,
    Kuphryn
    Last edited by kuphryn; 02-01-2002 at 08:55 AM.

  2. #2
    Evil Member
    Join Date
    Jan 2002
    Posts
    638

    Thumbs up

    Grasp is kinda nice. The most recent builds focus more on working with JAVA on non UNIX platforms, but they have the old UNIX stuff availible. Not sure how it stacks up to the competition, which I have not tried, but it works pretty well as far as editing goes. Worth a shot, anyway.

    eng.auburn.edu/grasp/

  3. #3
    Registered User
    Join Date
    Nov 2001
    Posts
    1,348
    Hey, thanks.

    I program strictly in UNIX command and not XWindow. I am currently using vi, which I am used to now.

    As I said above, I come from a Visual C++ environment. Even now I still prefer Visual C++ because it is easier to move around, modify specific code at specific sections because of the mouse.

    What does emac has that vi does not? The programming professor/leader of the team recommend emac over vi. He said emac can emulate vi.

    Lastly, why do developers prefer UNIX over NT environment? I find the UNIX environment (non-XWindows), primitive. Everything takes time including typing in long commands.

    Kuphryn

  4. #4
    Fingerstyle Guitarist taylorguitarman's Avatar
    Join Date
    Aug 2001
    Posts
    564
    emacs works well too. i like it much better than vi. there's also an enhanced version of vi but i've never used it. if you have access to a gui then there are a lot more options but give emacs a try. it's very powerful and not too tough to use.

  5. #5
    Unregistered
    Guest
    Originally posted by kuphryn


    Lastly, why do developers prefer UNIX over NT environment? I find the UNIX environment (non-XWindows), primitive. Everything takes time including typing in long commands.

    Kuphryn
    You can't really compare the UNIX non Xwindows with Windows NT becasue they are different, ones GUI ones command line. If you have a machine that will run NT it will run Xwindows so why not compare the GUI's.
    or compare unix command line with DOS (we all know what wins there).

    I use Linux (Xwindows) and developers choose Linux because you have access to all the code, kernels, modules, utilities, applications, games (mostly) and lots of other stuff. There are many reasons why people choose these OS's and we could start a big battle thread if we started trying to decide which is best. I like Linux other people like other systems.

    But anyway back to the point its not a good comparison to compare a GUI system to the command line. what you should do is compare the command line and gui of both systems. DOS ->UNIX and windows -> Xwindows. Think of it like this not many people will say its better to use DOS than NT. Even saying that there are people who prefer the commandline to gui's but I don't, I use both. In linux you have tty's and all sorts of terminal emulators so this is easy. I use a graphical texteditor for functionality, commandline compiler and commandline debugger for quickness and simplicity.

    I recommend you install Xwindows on your nix box and use the tools of both command line and gui combined to get your work done.

  6. #6
    Just because ygfperson's Avatar
    Join Date
    Jan 2002
    Posts
    2,490
    I use nedit. It's like notepad, except it highlights code different colors. It uses XWindows, though.

  7. #7
    In The Light
    Join Date
    Oct 2001
    Posts
    598

    Emacs

    i second ->taylorguitarman<-.


    Hey
    Mr. Mod this question comes up enough, maybe a canidate for FAQ.

    M.R.

  8. #8
    Registered User
    Join Date
    Nov 2001
    Posts
    1,348
    Thanks.

    Turkey gave an insightful perspective to Vi vs. Emacs.

    http://forums.anandtech.com/messageview.cfm?catid=33&threadid=701805

    He said Vi is faster. He said Emacs has more features.

    Console: I think it is clear that more developers mentioned Vi and/or Vim. I have not used Vim. What is the difference between it and Vi?

    X: I saw more developers mentioning NEdit. I have not used any X C++ editor. I have used Vi through X's console terminal, but that was the same as console.

    Console? Use Vi (Vim?)
    X? Use NEdit

    Kuphryn

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. WYSIWYG editor problem
    By Akkernight in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 04-01-2009, 08:50 AM
  2. Replies: 19
    Last Post: 05-30-2007, 05:47 PM
  3. Replies: 12
    Last Post: 08-05-2003, 02:16 PM
  4. OpenGL terrain demo (EDITOR)
    By Jeremy G in forum Game Programming
    Replies: 2
    Last Post: 03-30-2003, 08:11 PM
  5. PFE (prorgammers file editor, for Windows)
    By Unregistered in forum A Brief History of Cprogramming.com
    Replies: 1
    Last Post: 06-09-2002, 11:01 AM