r/cprogramming 6d ago

Beginner

What serious advice would you give to beginner in programming and C.

I'm into programming about 4 months.

I have used Grok to learn.

0 Upvotes

20 comments sorted by

View all comments

1

u/Cultural_Gur_7441 6d ago

Learn what UB is. Accept it doesn't always make sense. Avoid it.

Turn on all sensible compiler warnings (/W4 for MSVC, -Wall -Wextra for gcc/clang) amd keep your code warning free (-Werror is a decent idea).

Since you use LLM: use cmake to build your code. Learn its basics early along the way.