Jump to content

  • Log In with Google      Sign In   
  • Create Account


Finished my basic c book, what now?


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
2 replies to this topic

#1 game of thought   Members   -  Reputation: 212

Like
0Likes
Like

Posted 21 April 2013 - 03:52 PM

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

Sponsor:

#2 __SKYe   Members   -  Reputation: 989

Like
0Likes
Like

Posted 21 April 2013 - 07:36 PM

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.



#3 KnolanCross   Members   -  Reputation: 1268

Like
0Likes
Like

Posted 21 April 2013 - 09:13 PM

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).





Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS