• Advertisement
Sign in to follow this  

Finished my basic c book, what now?

This topic is 1734 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement