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 | 3993 |
2 | jiangly | 3743 |
3 | orzdevinwang | 3707 |
4 | Radewoosh | 3627 |
5 | jqdai0815 | 3620 |
6 | Benq | 3564 |
7 | Kevin114514 | 3443 |
8 | ksun48 | 3434 |
9 | Rewinding | 3397 |
10 | Um_nik | 3396 |
# | User | Contrib. |
---|---|---|
1 | cry | 167 |
2 | Um_nik | 163 |
3 | maomao90 | 162 |
3 | atcoder_official | 162 |
5 | adamant | 159 |
6 | -is-this-fft- | 158 |
7 | awoo | 155 |
8 | TheScrasse | 154 |
9 | Dominater069 | 153 |
10 | djm03178 | 152 |
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:)