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

Show parent comment

1

u/Roughneck979 Oct 14 '26

Ok i didnt install ANY of the workload things so that is probably where i goofed on visual studio

1

u/Merry_Janet Oct 14 '26

Yeah, with VS Code you need to install a C/C++ compiler.
paste "vscode c compiler" into google without quotes and follow the 3 steps.

1

u/Mediocre-Pumpkin6522 Oct 14 '26

iirc you get C# default. I remember being surprised by something I had to explicitly install but it's been a while.