[gameprogrammer] Re: why Always C++

  • From: Roger D Vargas <luo_hei@xxxxxxxx>
  • To: gameprogrammer@xxxxxxxxxxxxx
  • Date: Fri, 07 Sep 2007 11:52:59 -0400



Yasser Gonzalez Soto escribió:
Why always C++ is choosed to gammeprogramming?
Probably because generates smaller and faster executables, it has been proved to be a solid cross platform language, it has an standard (Delphi is controlled by Borland) and perhaps many more reasons. I dont have a formal academic formation, so I can only speak based on personal experience which may be influenced by subjetive factors.
And, like Chrys said, sounds cool. It is like learning chinese or japanese.
Believe me, probably we all have been there, nobody was born knowing C, except, perhaps Dennis Ritchie. It is a long process, it is as painful as a Jack Bauer's day and once you know it wont be a bed of roses neither, but it is the optimal solution.

Delphi is really is really easy for this. My point is, how you load and show an image in C++?

c++ code:
 HBITMAP hbitmap
 CDC cdc;
 CDC memDC;
 HBITMAP oldbitmap;
Too many lines and totally unportable I guess. somebody posted a way to do it using sdl in just 2 lines. Using an sdl binding for Delphi would provide you the same quick way, but wont solve the portability and giant code problems.


Besides, that 'erase-screen-redraw-screen' business is troublesome
It is the way it works, it has been this way since... well, I cant remember. The give-flowers-and-poems bussiness is troublesome, I would prefer the old method of hitting the girl in the head with a club and drag her to my cave.

--
http://dsgp.blogspot.com | Linux, programación, juegos
Have no place I can be since I found Serenity
But you can’t take the sky from me

                
______________________________________________ LLama Gratis a cualquier PC del Mundo. Llamadas a fijos y m�es desde 1 c�imo por minuto. http://es.voice.yahoo.com

---------------------
To unsubscribe go to http://gameprogrammer.com/mailinglist.html


Other related posts: