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 | 3985 |
2 | jiangly | 3814 |
3 | jqdai0815 | 3682 |
4 | Benq | 3529 |
5 | orzdevinwang | 3526 |
6 | ksun48 | 3517 |
7 | Radewoosh | 3410 |
8 | hos.lyric | 3399 |
9 | ecnerwala | 3392 |
9 | Um_nik | 3392 |
# | User | Contrib. |
---|---|---|
1 | cry | 169 |
2 | maomao90 | 162 |
2 | Um_nik | 162 |
4 | atcoder_official | 160 |
5 | djm03178 | 158 |
6 | -is-this-fft- | 157 |
7 | adamant | 155 |
8 | Dominater069 | 154 |
8 | awoo | 154 |
10 | luogu_official | 151 |
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:)