+ 2

Does anybody have ideas for programming projects in C language?

We have been given an end of semester project in our university for creating a project using the skills learned in C language. The topics we've learned so far include loops, conditions, arrays, strings, pointers and dynamic memory allocation. Using only the skills learned, i know nothing pretty can be created so i wanted to ask wheather anyone had any ideas about projects i can create with knowledge of the abovementioned skills as well as any additional topics if required. For example, i have been considering the use of graphics in this project but its implementation seems intimidating to me. Hopefully, i dont require in depth knowledge of the use of graphics in C so could anyone also help explain what aspects of the graphics do i need to learn that wont be tough to implement along with the abovementioned topics and at the same time boost the quality of my project. Thanks!!

7th Nov 2018, 12:33 PM
Yusha Arif
Yusha Arif - avatar
5 odpowiedzi
+ 8
If you want to exclude graphics then you can make game like Tic-tac-toe or if you want to include graphics then try making a simple snake game or any other game that find easy to code. Well you can also make Tic-tac-toe with graphics. I think these mini-projects will use each of the topic you mentioned above
7th Nov 2018, 4:30 PM
blACk sh4d0w
blACk sh4d0w - avatar
+ 7
You can use the search bar and take a look at what has been suggested. https://code.sololearn.com/W9mqwS28zDUP/?ref=app https://www.sololearn.com/Discuss/187862/?ref=app
7th Nov 2018, 12:41 PM
Hatsy Rei
Hatsy Rei - avatar
7th Nov 2018, 1:32 PM
Muhd Khairul Amirin
Muhd Khairul Amirin - avatar
+ 5
SFML now has C (and others) bindings. It's easier than SDL. Write a 2D game like a space shooter or snake. It'll prep you for all the basics: *. Graphics/sound *. I/O (save games) *. Game Theory (logic) *. Software Design. You'll make a royal mess your first program, we all do, but you'll learn so much hands-on. *. AI (yes, AI existed before C, it's just "trending" -- hate that word -- today). *. Building: compiling, linking, custom scripts. SFML works best without an IDE (everything's easier with no IDE, but a good editor is always useful). Writing a shell script to build your project (you don't need to use make) is great too. You get a real handle on things.
7th Nov 2018, 7:49 PM
non
+ 1
As for libraries you can use, I would recommend OpenGL. However, if this is too hard, GTK+ is a good option. As for examples to make, I recommend having a look at this website https://edabit.com/challenges/python3 Hope this helps! EDIT: Just realized that website doesn't include C! However, these are still good challenges, you just won't be able to code them on the actual website. :D
7th Nov 2018, 5:27 PM
Eragon1980
Eragon1980 - avatar