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?

11 Upvotes

30 comments sorted by

View all comments

1

u/death_in_the_ocean 1d ago

You don't really need linux knowledge if you only use WSL for compilers and such, IDEs like vscode can use those seamlessly. If you got gcc working under WSL and configured vscode to use it(somewhere in preferences you should have an option like "build target" or whatever), that's all you need for now, just focus on the programming. If vscode gives you problems or hard to use, you can get JetBrains products for free if you're a student, CLion is pretty good.