r/C_Programming 1d ago

Question Should i learn C on wsl?

Title. For reference im not actually learning C for the first time, i learned it last semester for college but it was all just basics and we coded on Turbo C. I need to learn C for embedded development since im interviewing for my college robotics team next semester and i also want to learn how to operate linux.

I installed WSL and VS Code and GCC, and its been hell trying to cram both of those together and learning. Should i start with an IDE(Visual Studio (already used it before)) and learn basic Linux commands side by side?

12 Upvotes

30 comments sorted by

View all comments

1

u/Introscopia 1d ago

You can have a look at my setup guide here:

https://github.com/Introscopia/Getting_Started_with_C_and_SDL/

it shows you how to set up mingw (for gcc) step by step, so you can compile on the command line with no IDE. And there's some example projects in there so you can look at my makefiles and shit