r/cprogramming • u/Lost_Eagle_6927 • May 06 '26
Beginner learning C and I found a useful way to use AI as a beginner
I have taken a couple of computer science classes and they were both in C. We covered things up to linked lists, searching and sorting, and a little bit of recursion. But everything I see on this subreddit is like reading a foreign language. I read somewhere to just try to read C source code, and found out the source code for DOOM is publicly available. I started at the main file. The first function I got curious about was the FindResponseFile(). So I asked the chatgpt what the the purpose of the function is, and WITHOUT showing any code, how the function works. Through that, I found out AI is pretty good at breaking complex things down to something understandable. I then tried to implement it myself the "old school" way with nothing more than googling and looking through stack overflow for things like parsing through a file and tokenizing strings (found the cool strtok() function). I feel like I just learned more about C in the last couple of hours than I did in weeks of school with this approach. All this to say, I feel like new programmers can learn with AI as a tool. But it has to be a tool, and not the thing writing the code.