dragoon's blog

By dragoon, 10 years ago, In English

I thought this discussion will be helpful for many :)


I use C++. I use Visual C++ 6.0 which comes with visula studio 6.0. This has excellent debugging and the editor looks quite nice to me, no need to create project. But the problem is, while debugging i cant see the vector elements (same for other STL elements). Another problem is, __int64, i face lot of trouble for topcoder contests. Other editor like netbeans, eclipse and higher versions of visual studio etc requires creation of project, I do not like this. Spending time for creating project is just waste of time :P

For Java, Jcreator / JBuilder seems nice to me. They don't need project creation. But it seems to me that they are somewhat slower than C++, though some leading coders use java.

 
 
 
 
  • Vote: I like it
  • +13
  • Vote: I do not like it

10 years ago, # |
  Vote: I like it +1 Vote: I do not like it
Both problem are addressed in Visual Studio 2005 and later.
You can download Visual C++ 2005 express (and any later version) from Microsoft site for free. I use 2010 version, which I really like.
Regarding "create of project" issue - it depends on preferences. I have only one project for all the competitions I participate in. When I need to switch from one problem to another, I delete old one from the project, and add a new one (Ctrl+Shift+A, doesn't work with Miranda-IM running :o)). If I need then to return to previous one, I always can add it back (Alt+Shift+A)

But more often I use Far Manager to code problems on C++.

For Java I hate all the IDEs existing, so I use Far Manager as well. For sure, I don't have autocomplete, and will not even try to convince anybody, that I have any benefits from using Far. I'm pretty sure that using any IDE will make solving problems on Java faster, though I just don't like them :o) I hate IntellijIdea for being so different from Visual C++, I hate both Eclipse and NetBeans for being very slow.

For C#, which is my primary language now for all the competitions which support .NET 3.5+ I use Visual Studio 2010. As I said, it is pretty much awesome.
Sometimes, but not very often, I use Far Manager to code problems on C# as well (for instance, on my minibook visual studio behaves slowly, so Far Manager is more convenient if I want to code something and my minibook is the only machine available at the moment).
This is also the IDE (and the language) I work with on my job, so it makes it easier when you use the same tool for all the purposes.
  • 10 years ago, # ^ |
      Vote: I like it 0 Vote: I do not like it
    I use Far Manager+Colorer+FarCommands for training, in case of contest i current use C++ Visual Studio 2010 Exrpress.
10 years ago, # |
  Vote: I like it 0 Vote: I do not like it
I am a linux(Ubuntu) user. Here I use Geany . Its so light that even in my P4 2Ghz pc its started in 2/3s. And its support all my languages like C/C++, java, python , bash . Its don't need any project to create and in 2s I am on coding :D . But its don't have the so called debug option but cout and printf is all I need. But I also in my university's practice contests use VC++ 6(Which I actually hate :P) because in Bangladesh in onsite contest u can only get it :(
  • 10 years ago, # ^ |
      Vote: I like it 0 Vote: I do not like it
    It's almost the same for me, but I use gedit instead of geany. I dont like complicated IDEs, and that's why I keep on gedit, but it would be nice to have a  debug plugin for it.
  • 10 years ago, # ^ |
      Vote: I like it 0 Vote: I do not like it
    It's almost the same for me, but I use gedit instead of geany. I dont like complicated IDEs, and that's why I keep on gedit, but it would be nice to have a  debug plugin for it.
    • 10 years ago, # ^ |
        Vote: I like it 0 Vote: I do not like it
      Try geany once. Its one of the most simple application :) at least for C/C++ . Just build with a button or press F9 and run the code by pressing execute or F5 . You are about to get ACCEPTED :D
  • 10 years ago, # ^ |
      Vote: I like it 0 Vote: I do not like it
    I use Geany too.  It's simple, really light weighted and there is no *create a project* issue like Anjuta or NetBeans or eclipse C/C++ IDE. But, sometimes I badly feel the need of debugging in my code. I am also looking for an IDE that doesnt want to *create a project*  everytime, but has debugging facilities.
    • 9 years ago, # ^ |
      Rev. 2   Vote: I like it 0 Vote: I do not like it

      Hm. I use Eclipse - I create only one project "CodeForces" and simply add new file for each new problem.

      UPD: However I use Eclipse mostly because I once started to use it for CF and it is always painful to switch. Currently Eclipse has its own problems (for Java development at least) and I am not ready to recommend it to anyone.
  • 10 years ago, # ^ |
    Rev. 2   Vote: I like it 0 Vote: I do not like it
    I'm a (K)ubuntu-Fedora user and I love Geany.  It's just wonderful and great. I use Geany for Java , C and Python. But when Coding with C++ , nothing can be as good as GNU Emacs.
10 years ago, # |
  Vote: I like it 0 Vote: I do not like it
I use (G)Vim. It's lightweight, super functional and very convenient for most platforms and languages.
10 years ago, # |
  Vote: I like it 0 Vote: I do not like it
I use KATE (on linux) because it's Khuc Anh Tuan's Editor :D
10 years ago, # |
Rev. 3   Vote: I like it +1 Vote: I do not like it
In my opinion codeblocks is the best IDE for C/C++.Its awesome for topcoder if you use Autogen with it which allows you to code in codeblock ide and test all the test cases automatically :)
  • 9 years ago, # ^ |
      Vote: I like it 0 Vote: I do not like it
    I do agree.
    In my opinion CodeBlocks is the best which is very fast & lightweight.
    Suitable for Topcoder & Codeforces.

  • 9 years ago, # ^ |
      Vote: I like it 0 Vote: I do not like it
    Can you provide me any links on how to configure Autogen? It would be great :)
    • 9 years ago, # ^ |
      Rev. 2   Vote: I like it 0 Vote: I do not like it
      You can download it from  http://www.download3000.com/download-topcoder-autogen-for-arena-c-count-reg-40105.html . Run the TopcoderAutoGen.exe . Then go to applet and open any problem. Then copy the whole problem statement.  And paste in it the middle portion of the autogen where it says at the top "problem input:(.......)". Then press "generate" at the top. Then open a new file in codeblocks and press ctrl+p. Remember you dont have to copy anything. It automatically copies everything.You just have to paste it in the new cpp file. Then you can code and test it directly from codeblocks. And then you have to submit it to the arera. Dont copy anything below the class portion of your code. They are all auto generated.  Another autogen which I am currently using is http://apps.topcoder.com/forums/;jsessionid=E345167F0D6236817988B8B617F7A3AD?module=Thread&threadID=660438&start=0&mc=7#1389712 . This one downloads a autogenerated code of a problem exactly when the problem statement is opened in the arena. Then you just have to code in it. You dont have to paste it in arena. Just compile in the arena and then submit.I like this one more :) The first one only supports c++ while the second one supports java too.Hope you can use it . Good Luck :)
      • 9 years ago, # ^ |
          Vote: I like it 0 Vote: I do not like it
        Thank you so much, its awesome :D
        • 9 years ago, # ^ |
            Vote: I like it 0 Vote: I do not like it
          Glad you like it :) Which one are you using first one or second one ?
          • 9 years ago, # ^ |
              Vote: I like it 0 Vote: I do not like it
            second one :)
            • 9 years ago, # ^ |
                Vote: I like it 0 Vote: I do not like it
              One thing I forgot to mention about the second one is that it wont work if you save the code in a path which has space in any folder or drive name. So the drive name and the folder name where the code is stored should not have any space :)
      • 9 years ago, # ^ |
          Vote: I like it 0 Vote: I do not like it
        Do you make a project?
        If you don't, does it have static code analysis?

        I'm trying to look for a program with static code checker and no need to make projects. Can't find one
        • 9 years ago, # ^ |
            Vote: I like it 0 Vote: I do not like it
          No I don't make any project. I don't understand what do you mean by static code analysis! You can just try it and see for yourself what it is :) That will answer all your questions :-P
      • 6 years ago, # ^ |
          Vote: I like it 0 Vote: I do not like it

        it's very helpful.. thank u ^_^

10 years ago, # |
  Vote: I like it 0 Vote: I do not like it
Eclipse for Java
10 years ago, # |
Rev. 2   Vote: I like it 0 Vote: I do not like it
Eclipse (Java)  for coding and Far Manager for testing appear to be the best for me.
10 years ago, # |
  Vote: I like it 0 Vote: I do not like it
I currently use kate & everything about is just great but I have used Netbeans in past for Java & I do miss auto-complete & instant javadocs help.
Is there any thing out there for linux with:

1) No need to make projects
2) Auto complete in both/either C++ & Java
3) Embeddable terminal.

I have heard good things about jEdit & its rich plugin culture but never got a chance to try it. Any one using it ?

I know maybe I am asking for too much :D
  • 9 years ago, # ^ |
      Vote: I like it 0 Vote: I do not like it
    Geany has that. Autocomplete & snippets work nice
9 years ago, # |
  Vote: I like it 0 Vote: I do not like it
I use Dev C++ for C++ and Eclipse for Java :)
9 years ago, # |
  Vote: I like it 0 Vote: I do not like it
What do I use: Vim
Why: I am used to it.
9 years ago, # |
  Vote: I like it 0 Vote: I do not like it
I am using eclipse for java with EclipseCoder pulgin for TopCoder
9 years ago, # |
  Vote: I like it 0 Vote: I do not like it
IntelliJ IDEA. Actually, it requires only one project to be created and after this you can simply add plenty of files to the project and switch currently active file. Also, it has nice plugin for TopCoder.
9 years ago, # |
  Vote: I like it 0 Vote: I do not like it
Codeblocks for C/C++ lightweight, easy to use, press F9 to compile and run, doesn't terminate without showing the output after reading the last input(I faced this problem in Dev) + doesn't need any project building to write contest time console applications :-) The most important reason is, I'm used to it now a days :-)
9 years ago, # |
  Vote: I like it 0 Vote: I do not like it
Codeblocks for C/C++ and Visual C# 2010 for C#.
9 years ago, # |
  Vote: I like it 0 Vote: I do not like it
I use Vim/GVim as well, compiling in a terminal.  I'm still somewhat a novice with it, but I think it is a fast editor to correct mistakes, and has some nice features (find-and-replace, autocomplete, etc..).
9 years ago, # |
  Vote: I like it 0 Vote: I do not like it
Dev C++ doesn't need to create projects and norm debug, but from STL it shows only vectors(how I know).
9 years ago, # |
  Vote: I like it 0 Vote: I do not like it
i'm Ubuntu user. i use Geany for C++ and Java :D
9 years ago, # |
Rev. 4   Vote: I like it 0 Vote: I do not like it

Since I don't debug much ( other than printing lines here and there ), I mostly use gedit in Linux during codeforces and other contests. Besides I use codeblocks. For Java I use geany.
9 years ago, # |
  Vote: I like it 0 Vote: I do not like it
VIM! Simply because I never have to use a mouse again :D It has way too many commands and is just way too powerful. I learnt Regular Expressions just so that I could use VIM to at least some of its potential.
9 years ago, # |
  Vote: I like it 0 Vote: I do not like it
I use Xcode 4.0.2 ... .
Because I thought I have no other right choose beneath Mac OS ..)
  • 6 years ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    You may want to use Sublime Text.Because it's cool :) if you start to use once, you cant quit

9 years ago, # |
  Vote: I like it 0 Vote: I do not like it
I've thought most of the coders here use Emacs - now I know that's not true :-(  Well, I like it.  It has nice debugger interface by default; with newer versions of gdb, it can also display contents of STL containers (this is not a feature of Emacs itself, though).
9 years ago, # |
  Vote: I like it 0 Vote: I do not like it
I'm using NetBeans and there is no need to create new project for every task.
You can create one project per contest (what is looking quite good for me) and run/debug individual file from it (Shift+F6 / Ctrl+Shift+F5). Also Netbeans automatically detects new files in your project, so you can use your favorite editor for typing and then use Netbeans to debugging.

Now I want to switch to vim, as it is lightweight and powerful editor. ^_^
9 years ago, # |
  Vote: I like it 0 Vote: I do not like it
Geany for everything
9 years ago, # |
Rev. 4   Vote: I like it 0 Vote: I do not like it

Eclipse for Java
9 years ago, # |
  Vote: I like it 0 Vote: I do not like it
For C++ use VisualStudio2010, sometimes DevC++, and for pascal - FreePascal.
When i work on linux, i use only gedit. Recently i've installed LazarusIDE, is here anybody who uses it?!
Is it better than freepascal?
9 years ago, # |
  Vote: I like it 0 Vote: I do not like it
Code::Blocks  use the latest build from svn
Geany
Gedit
»
6 years ago, # |
  Vote: I like it +3 Vote: I do not like it

I'm surprised that no one mentioned Sublime Text. To me, it seems as good as vim — without having the steep learning curve that vim has.

»
6 years ago, # |
  Vote: I like it 0 Vote: I do not like it

For C/C++ coders

For linux : Geany, vim

For windows : Notepad++, Dev-Cpp

»
6 years ago, # |
  Vote: I like it 0 Vote: I do not like it

sublime + terminal + lldb

»
6 years ago, # |
  Vote: I like it 0 Vote: I do not like it

int64 issues:


#ifdef LOCAL typedef __int64 ll; #else typedef long long ll; #endif

and, add -DLOCAL to your compiler.