Author Topic: good c books / website / ebook  (Read 5015 times)

0 Members and 1 Guest are viewing this topic.

Offline tnk2k

  • ZX 81
  • *
  • Posts: 5
  • Karma: 0
    • View Profile
good c books / website / ebook
« on: October 04, 2012 »
Hello all,

I have some basic c knowledge and want to learn how to do some graphical programming on linux. I've read 'Linux Graphics Programming with SVGAlib' from Jay but  i think this is a bit outdated i guess.

Does anybody have an good book tips?

Thanks.

Offline Rbz

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 2757
  • Karma: 493
    • View Profile
    • https://www.rbraz.com/
Re: good c books / website / ebook
« Reply #1 on: October 05, 2012 »
How about opengl api - http://www.opengl.org/wiki/Getting_Started
It's perfect to use on linux and with c language.
Challenge Trophies Won:

Offline hellfire

  • Sponsor
  • Pentium
  • *******
  • Posts: 1294
  • Karma: 466
    • View Profile
    • my stuff
Re: good c books / website / ebook
« Reply #2 on: October 05, 2012 »
I have some basic c knowledge and want to learn how to do some graphical programming on linux.
Do you want to do software rendering (plotting pixels with your cpu) or do you want to use your graphics card?
And which IDE are you using?

Challenge Trophies Won:

Offline tnk2k

  • ZX 81
  • *
  • Posts: 5
  • Karma: 0
    • View Profile
Re: good c books / website / ebook
« Reply #3 on: October 05, 2012 »
I have some basic c knowledge and want to learn how to do some graphical programming on linux.
Do you want to do software rendering (plotting pixels with your cpu) or do you want to use your graphics card?
And which IDE are you using?



Both i guess :) I don't have an ide, i just use vi :) Do you recommend an ide?

Offline tnk2k

  • ZX 81
  • *
  • Posts: 5
  • Karma: 0
    • View Profile
Re: good c books / website / ebook
« Reply #4 on: October 05, 2012 »
How about opengl api - http://www.opengl.org/wiki/Getting_Started
It's perfect to use on linux and with c language.

Thanks! I also read about the 'red and blue' book. Would you recommend those or are those outdated?

Offline hellfire

  • Sponsor
  • Pentium
  • *******
  • Posts: 1294
  • Karma: 466
    • View Profile
    • my stuff
Re: good c books / website / ebook
« Reply #5 on: October 05, 2012 »
Thanks! I also read about the 'red and blue' book. Would you recommend those or are those outdated?
You can read the red and the blue book online.
I don't think there's such a thing as "outdated" because it's fundamental to understand how things worked in the past and why they changed.
I wouldn't really recommend to have them in the shelf, though. Once you've picked up the basics they're pretty useless.

I don't have an ide, i just use vi :) Do you recommend an ide?
On linux I use .pro-files and qmake (which belongs to qt and ships with kde) which is somewhat more convenient than the standard makefiles.
An IDE is essential to organize your project, refactor your code and run the debugger.
My favourite is qt creator. It's targeted at developing qt applications but also works without it.
Of course there are some others, too (eg eclipse/cdt, code blocks) but they'll make your life only half as wonderful :)
« Last Edit: October 05, 2012 by hellfire »
Challenge Trophies Won: