Finished my basic c book, what now?

Started by
1 comment, last by KnolanCross 11 years ago
I have done some basic c and finished the relatively short book i found(~170 pages) and have nearly finished my basic scientific calculator(implementing pythagoras etc. nothing like logarithms, just basic operations and trig). However i believed it was time for me to pick a library and mutually exclusive about it as i am a beginner.

From what i have read i have narrowed these down to two choices. Allegro 5 and ncurses. I realise how different these are in that one is text console and the other is a proper game making library.

Which one do you recommend, do you believe there is a better choice(please acknowledge that the raspberry pi i am using is somewhat niche as well as being easily swamped by large graphical programs if software rendered, so hardware rendering is quite important)?

Thank you
Advertisement

I'm not familiar with ncurses, but if you're looking for hardware accelerated rendering (for programming on the PC), then you could try SDL + OpenGL.

I think Raspberry PI has OpenGL ES support, but i'm not sure if SDL is supported in ARM processors, and if it can be used with OpenGL ES.

Ncurses is an UI library as far as I know, if you want to code games, go for allegro (that is an actually Game library) or some other (there is one named orx that is pretty cool, uses C as well).

If you are looking for problems to solve with C to learn it better, you should try some data structs, such as lists or trees, those ones will teach you a lot about pointers and how memory is handled.

Currently working on a scene editor for ORX (http://orx-project.org), using kivy (http://kivy.org).

This topic is closed to new replies.

Advertisement