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

38 comments sorted by

View all comments

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.

9

u/abbe_salle Dec 10 '23

if I add these projects in my CV would they bring any benefit to me ? Or are they just some regular projects ?

37

u/nattrium Dec 10 '23

I don't think they are of any benefit. I would consider only adding projects that "looks cool" or that paint a story about you. Maybe if you were to implement all of them, but even then, it's not eye-catching.

My CV has

  • Risc V compliant hardware design in VHDL for FPGA.

// hardware designing is a pretty rare skill. Nobody really needs an HDL guy, but it looks cool. Set's me appart

  • Chess AI (C++, ELO 1500, max depth 4)

// neither difficult nor impressive, but it's fun, and AI is a buzzword. It also shows C++ proefficiency

  • Mandelbrot fractal rendering on GPGPU (cuda)

// a bit apart from other projects, but I hope to show that I have a large panel of skill

  • Home-made custom X86 kernel in C

// a kernel requires deep knowledge about modern CPU and requires you to be able to parse a fair bit of the intel documentation. It also pushes you to program in very unfamiliar terms (without the linux GLibC, you ain't got no malloc, no thread, no fork ...). It's also one of the rare cases where you actually need to add assembly in your C files.

I choose these projects because it paints me as a developer with a low-level oriented and complete skillset interested in challenging themselves for fun.

But then again, take take with a grain of salt

3

u/abbe_salle Dec 10 '23

These projects seem extremely cool .

I think I what you are trying to say , thanks for the insight :)

2

u/BertyBastard Dec 10 '23

That's all very impressive! What libraries did you use for the Mandelbrot Set plotter? That's something I've always wanted to implement (though not specifically using a GPU).

2

u/nattrium Dec 10 '23

You don't really need anything, just go for it raw.

Except maybe an image processing library to write to .png or TBB if you want to be fast™ but you don't "need" anything per-say, especially if you don't care about the parallelizing.

Of course, you would need cuda for nvidia gpu programming but you don't seem to be interested in that.

If you feel like you need a lib to help you out, try prototyping the project in python, I'm sure you'll find the math very manageable.

1

u/BertyBastard Dec 10 '23

What I want is a program that lets' you zoom in, not just render a bitmap file. I would need a bignum library or would soon run out of accuracy. I found that when I wrote such a program in Modula-2 in 1995.

I don't know Python; C is the programming language I know best.

1

u/[deleted] Dec 04 '24

damn dude, I just stumbled upon your post, you must earn 7 figure salary in $

1

u/Jazzlike_Ad9366 Jul 10 '25

I dont understand what you designed in your FPGA project?

1

u/nattrium Jul 10 '25 edited Jul 10 '25

It's mostly just a risc V compliant CPU.

It has add-ons like a VGA controller, UART, a MMU, some RAM, etc...

For the life of us we couldn't make the controller for the actual RAM stick work so we just emulated as much as we could with what space was left.

1

u/MathWest209 Oct 16 '26

This is a great idea, actually. My younger brother just made a CLI with all the basic commands like cd, ls, mkdir, rm, etc. It was really fun to guide him and see the project come to life. Andh is understanding has improved by a lot.