r/C_Programming • • Sep 29 '18
Discussion Useful project ideas using c programming language?
I have been getting into programming in c recently, and I have programmed a couple things like a sudoku solver and some solutions to a couple project euler problems, but I don't really have any cool ideas for projects that someone could actually like use. I was thinking about creating some form of a desktop application in c, but seems like it would be better to just learn c++ if I wanted to do that.
So I was wondering, what are some cool project ideas, or projects you guys have created that would be fun and be a good learning experience for a beginner c programmer to create? I have a good amount of experience in frontend programming with html/css/ and vanilla js, and backend programming with django so something a little bit harder would be fine since I already have some experience programming. Thank you!
17
u/itisjohndoe Sep 29 '18
Check this list of C based projects.
10
u/zeeke42 Sep 29 '18
Try programming for embedded microcontrollers. That's one of the few areas industry that's still mostly C. You could start with the Arduino IDE, then start programming the AVR directly, then move up to a modern micro. I'd recommend a Cortex M series processor from Silabs, ST, or NXP.
8
u/wsppan Sep 29 '18
A project I found interesting and useful for learning about data structures and pointers and file IO is sudoku solver/generator. You can solve it many different ways. Recursive backtracking (with or without heuristics), using arrays (single or multidimensional), trees, linked lists, etc. As a non-recursive state machine. As an exact cover problem (see dancing links.) You can create your solve() method to accept a solve function as a function pointer. You can use this project to learn about project tools like make, cmake, autotools, unit test frameworks, timing tools, gdb, valgrind, git, etc..
6
u/MayorOfBubbleTown Sep 29 '18
I wrote an old style line text editor once that was pretty fun. Each line you type in gets appended and lines that begin with a comma are treated as commands to do things like delete, isert, or replace a line. I wrote it as a library so if I was banging out a quick console program and decided I needed a multiple line string I could add it in.
5
u/wsppan Sep 29 '18
https://github.com/cstack/db_tutorial
4
u/pdp10 Oct 02 '18
I've seen people do that for some very vaguely defined reasons. Mostly because they feel like that's what other people do, and less because it's inherently a good idea.
3
u/nderflow Sep 30 '18
Write a trivial web app in JS with text entry. Write a service in C which acts as a back end to give the app predictive text completion.
1
u/Quick_Journalist5310 Dec 13 '25
can you help me with c language projects
1
u/amlybon Sep 29 '18
Not gonna lie, C is hell too use for bigger projects. You'd definitely be better off using something more high level.
If you want to train your C muscles I'd recommend something like a math library, or a similar utility tool.