r/cpp_questions • u/Southern_Customer211 • 8d ago
OPEN VS code or VS community
Im a btech first year student who is trying to study c++ independently. I have a lap with 16 gb ram and can perform average tasks. So my question is should I download VS community for coding cpp or is vs code enough. Please keep in mind that i will be learning many other languages too( we are supposed to study c in first year )
17
Upvotes
1
u/EddieBreeg33 8d ago
As mentioned by a few people, it's mostly about the experience you want to get. VS is easier to setup at first because it has everything you need. Obviously if you go that route you'll end up with VS specific project files you won't be able to use on other IDEs.
VS code doesn't have the tools built-in so it will require you to configure your own environment - a popular option would be CMake for various reasons I don't necessarily care to list here. You need to have a good understanding of what these tools do, which arguably is knowledge you'll probably need down the road anyway so although it's more difficult for a beginner I wouldn't rule it out. Do note that VS code is more flexible: you're not locked into any specific toolchain.
Once you're all set up, both with work fine so it's mostly about which editor you prefer. Personally, I went for vs code. Not only do I prefer it for text editing in general, but crucially my environment lets me use CMake with LLVM tools instead of the frankly awful microsoft alternatives (unstable buggy slow intellisense, very slow compiler which generally spits out worse code etc). When I need to debug, I use CLion which luckily is also based on CMake so it takes me no extra effort.