Best IDE for Competitive Programming?

I don’t use Online IDE and don’t suggest anyone because of many reasons. I’m mentioning a few of them below :

  1. They are internet dependent. So if your internet connection is not strong, it will take more time to load. Don’t mention the cases when whole code is lost because of poor connection.
  2. Traffic during online contests.
  3. Dependent on GUIs. We get so acustomed of easy compilation and executon that we never go behind the actual working of the compilers and everything. I myself have faced the same thing and I used to run around seeking help for even basics.
  4. Plag, ofcourse.

Therefore I suggest any text editor and a compiler to run codes offline (preferably on a linux distro).
But it totally depends on a person, what they want to use.

I use VSCode on Linux Mint and sometimes I switch to CPEditor, just for a change.

1 Like

I tried this, but it didn’t work. Thanks

1 Like

if you are using antivirus, it may be because the Real Time Protection is turned ON. The is same is true for windows defender.

Thanks for trying. Have you reverted your exclude settings? I have updated my previous comment.

1 Like

Yes, I reverted. My windows defender is disabled so Win Def must not be the problem.

Dude i am facing similar issues. I had to reset my laptop due to some issues. Now on setting up mingw + sublime text for cpp, it takes forever to compile.

Do share if you find anything.

1 Like

I also tried this. Didnt work. Thanks

You can use the following online compiler

I’m doing same : mingw + sublime text

I prefer J Doodle C++17 over this one

I’ve tried Sublime, Eclipse, Gedit + terminal, and Vim + Terminal, and vim + terminal is by far the best experience I’ve had. I’m currently using Vim + Terminal.
Vim also has a feature to run gdb inside vim, which is perfect for debugging.

5 Likes

Geany+Guake works good enough.
Btw, how to use precompiled bits/stdc++.h? Does it really reduce compilation time?

But you were facing that problem in DevC right? So you shifting to sublime +minGW now?

Or you used both earlier? If both, was the compilation time high in sublime too? only in devC?

Yes, I shifted to sublime+minGW yesterday, but I am facing same problem …taking 20+ seconds for compiling…may be my machine is getting slow :frowning: (unexpectedly!, still not sure) . So I’m using online compiler as of now.

1 Like

I really like its Cobalt theme but there is no auto complete feature.

I use both vscode and codeblocks. I find vscode prety sick :sunglasses:. But I have to forcefully use codeblocks as only that will be available in ZCO… :confused:

Crtl + C takes less than a second to terminate it for me.

Definitly it does.
go to this directory(i am using ubuntu 20.04) :-
/usr/include/x86_64-linux-gnu/c++/9/bits
and you will find your “stc++.h” header there.
then run command “sudo your_compiling_flags stdc++.h”
and you will see another file stdc++.h.gch, which is your precompiled header.
(my_compilng_flags = g++ -O2 -std=c++17 -Wall -Wextra -Wshadow -Wno-unused-result);
Before precompiled headers - (4 - 6s)
After precompiled headers - (0.3s - 1.5s)

2 Likes

:rofl: :rofl: :rofl: :rofl: :rofl: :rofl:

Hey ! how to set precompiled header files

Actually i have done everything successfully in my window according to a blog , and also i use “bits/stdc++.h” . But i can’t find any significant change in compilation and execution speed.

Can u plz tell me what else should i do to make it working?