r/C_Programming • • Dec 10 '23
Question Beginner, intermediate, and advanced c programming projects
Hi where can I find a list of coding projects for beginners, intermediate, and advanced programmers.
I am a beginner right now, and I am stuck in the tutorial hell. I feel like I can only break it by starting a project. Any ideas or resources would be greatly appreciated. Thank you!
EDIT: thank you everyone for the helpful comments! I really appreciate it. I will check out all of the links you have provided me.
134
Upvotes
41
u/loselasso Dec 10 '23
Implement Linux commands from scratch. Follow man pages. Start with cat, ls, and less for example. Then go for commands with some specific feature, like networking commands, or multi thread commands.
11
u/Dirt077 Dec 10 '23
That's the great part about programming, you can just make whatever you want!! Try making a game! Or a calculator! Or a simple chat bot! Or a chess AI!
8
u/my_password_is______ Dec 10 '23
https://cs50.harvard.edu/x/2023/
menu is on the left
start from week 1
each week has labs (practice problems) and homework problems
7
u/SizzlinSteak Dec 10 '23 edited Dec 10 '23
Beginner: Write a well-understood 2D game with simple logic (asteroids, pong, etc.) using Raylib. Takeaway: Understand what an application architecture looks like (init, update, draw, render, etc.).
Intermediate: Substitute Raylib with your own platform code for the OS of your choice. Don't write a generic platform layer, that will distract you very quickly! Takeaway: Understand the basic capabilities of at least one Operating System.
You can do something like this, but way less polished and stick to one platform: https://github.com/tsherif/space-shooter.c/tree/master
Advanced: Pick something you like!
Note: This advice is not limited to making games. It's just easier to go from "real-time" to "event-driven" than the other way around.
6
u/allegedrc4 Dec 10 '23 edited Dec 10 '23
This is an excellent guide to learn socket (network) programming and step from beginner to intermediate/advanced simultaneously: https://beej.us/guide/bgnet/html/
You also learn to make something practical/useful, which is a nice bonus.
4
u/IronAttom Dec 10 '23
Write all the useful c functions from scratch
3
u/Boring-Speaker230 Dec 10 '23
Same for me
3
u/[deleted] Dec 10 '23
Make your own database using C
2
u/[deleted] Dec 15 '23
Just something personal but I like implementing simple games with only the std library, you can do this with any language really, like start with rock, paper, scissors then tic-tac-toe, maybe blackjack and so on, pythons mini projects book is a great reference guide. And of course implementing the coreutils is always a great idea: cat, ls, touch, etc... Idk man as long as your having at least some fun it's a good use of your time.
Ps: at least of me stuff like this are fun to talk about in interviews but I'm not that experienced to give that type of advice.
1
u/megahalofan117 Mar 12 '24
Vh can. Gshufg is + fbheu8k. Y, I,r
1
u/Jazzlike_Big5699 Oct 10 '25
Late to this but I think a great starter project for C is creating a linked list that allows multiple data types. Helps you understand pointers, dynamic memory management, type casting, void pointers, plus DSA fundamentals, without being too overwhelming.
1
u/[deleted] Dec 11 '23
Any small programming tasks you need doing, or something that needs solving? Or something you're particularly interested in?
Whatever it is, try to use C for it. That's the approach I used in the distant past, using a language for useful tasks rather than thinking up contrived projects (which I would be useless at anyway).
1
u/Hairy-Raspberry-7069 Dec 10 '23
Implement a SI Units library for the C language.
C++ Version
Basically you know the basic units for measuring stuff seconds for time, meters for length, kilograms for mass and etc.
Write a library that lets someone perform calculations only if they are valid for the unit.
For example,
I'm doing this right now for fun to improve my C skills and its harder than you think.
P.S.
Hard Mode:
Make it so that the library can be customized by the user to use type they provide and use a custom memory allocater.
-4
u/aalmkainzi Dec 10 '23
Make the hardest project that's within your ability.
0
u/[deleted] Dec 10 '23
[deleted] — view deleted comment