Is there any light/simple IDE for C++? VS Code seems a bit heavy just for the sake of competitive programming. Code::Blocks is not updated. I don't want to use text editors like Sublime Text for now as I am still learning C++.
# | User | Rating |
---|---|---|
1 | tourist | 4009 |
2 | jiangly | 3823 |
3 | Benq | 3738 |
4 | Radewoosh | 3633 |
5 | jqdai0815 | 3620 |
6 | orzdevinwang | 3529 |
7 | ecnerwala | 3446 |
8 | Um_nik | 3396 |
9 | ksun48 | 3390 |
10 | gamegame | 3386 |
# | User | Contrib. |
---|---|---|
1 | cry | 165 |
2 | maomao90 | 164 |
3 | Um_nik | 163 |
4 | atcoder_official | 160 |
4 | adamant | 160 |
6 | -is-this-fft- | 158 |
7 | awoo | 157 |
8 | TheScrasse | 154 |
8 | Dominater069 | 154 |
8 | nor | 154 |
Is there any light/simple IDE for C++? VS Code seems a bit heavy just for the sake of competitive programming. Code::Blocks is not updated. I don't want to use text editors like Sublime Text for now as I am still learning C++.
Name |
---|
use vim
nvim
min CM required for actual use of it :)
i’m cm and i still cant work out nvim for the life of me
To run C++, all you need is a text editor and a compiler (and a shell where you can run the executable). Rather than relying on complex IDEs, I would recommend getting yourself to get familiar with a simple setup as follows.
g++
and any text editor of your choice.main.cpp
).g++ main.cpp
(or you can give the absolute path ofmain.cpp
instead of justmain.cpp
with the advantage that you don't need to be in the directory wheremain.cpp
is, but it is slower to write)..exe
was generated, and if on Linux/Mac, run./a.out
Eventually you can go on to use different build systems and maybe even some scripts that make it easier. It is quite important to learn the basics of how compilation etc. happens, else in competitions where you can't use your own setup, you'll be completely lost. I use
vim
+make
for running C++, and it is pretty good in my opinion, sincevim
(or at leastvi
) is present in all Linux distributions (and in pretty much every competition's setup) andmake
is installed bybuild-essential
and hence present on almost all systems (and is needed for building a lot of fundamental tools on Linux).Can you share your entire setup (like scripts and workaround) or more precisely a video explaining them?
Tell us about who you are maybe :) (Who is nor?)
I just use a terminal, vim (with a couple of plugins for clangd and snippets) and a Makefile. I don't think you'll really gain anything from that minimalist setup apart from learning some new things. Maybe it's better to compete with a setup that's easy to set up from scratch, if you're looking at ICPC and other onsite competitions.
but who is nor
No one
https://www.bloodshed.net/
Only works for windows though.
Use Code Blocks, it has C++17 in newest version, I think it is enough for start in CP. In future, you can use sublime or any text editor and compile code using terminal.
notepad :).
VS Code
After using Codeblocks, you won't be disappointed:)