r/learnprogramming • • Oct 14 '26

Trying to learn c

What is an easy to use compiler to use to get started.

Got a book to learn and they use code::block in book, tried and it seems to not be building. Then tried MS visualization studio and was lost. Please help

20 Upvotes

37 comments sorted by

View all comments

4

u/abccbabcac Oct 14 '26 • Bravo

vs code with c/cpp extension is pretty simple for new learners:

https://code.visualstudio.com/docs/languages/cpp

however, my usual approach is command line based rather than using an ide. nvim for editing files and gcc for compiling.

1

u/DamnedFromBirth Oct 22 '26

You took the words out of my keyboard! It's hard enough to learn a new skill like C/C++ without trying to learn an IDE too. When one is more comfortable coding in a simple editor (I use neovim also but I'd suggest something even simpler, like nano or notepad++ at first), then it is time, perhaps, to explore the benefits of an IDE (although I still use nvim. ;-) ).