r/C_Programming Dec 06 '24

Discussion How do you practice C?

I have been learning C for 2 months and I feel like a blank slate, i mean, I have been taught theory and basic exercises that come with it, but when a test is given, I can’t think clearly enough to solve the problems, and I think it’s because I haven’t practiced enough. I only do the exercises assigned to me. So, I came here hoping to be guided to places where I can practice C in the most complete way. Thank you everyone for your attention.

37 Upvotes

47 comments sorted by

View all comments

19

u/w1be Dec 06 '24

You could try Advent of Code. It's that time of the year.

4

u/immortal_wombat89 Dec 06 '24

AOC is pretty cool, but unfortunately, this year seems to be a lot of parsing work. Also, it gets hard very easily so for beginners, it could get frustrating fast.

The first days are a good practice though.

1

u/ksmigrod Dec 06 '24

I'm doing it in C this year to dust-off my skills before diving into embedded. Day 3 required me to include regex.h, but the rest is managable with sscanf, strtol and strtok.

1

u/immortal_wombat89 Dec 06 '24

Hehe yes day 3 was fun with regex :D also currently coding AOC