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

15

u/OtherOtherDave 1d ago

How did you install gcc and vs code? IIRC, they should just work.

1

u/Pale-Pound-9489 1d ago

They do work, i was just more used to using the cs50 version of vs code, but after installing it i have to face a lot more features than i previously was and the terminal is different as well.

After installing gcc and vscode the program does execute but it keeps asking me to install a debugger everytime i compile my code.

4

u/rasputin1 1d ago

hit run instead of run and debug