Jump to content
Posted 07 November 2012 - 07:58 AM
Posted 07 November 2012 - 08:14 AM
Posted 07 November 2012 - 08:15 AM
Posted 07 November 2012 - 09:39 AM
what do you find the best if I want in the future go for 3d games pc and console?? C++ or java?
Posted 07 November 2012 - 11:39 AM
Posted 07 November 2012 - 12:08 PM
Posted 07 November 2012 - 01:05 PM
Posted 07 November 2012 - 01:57 PM
Posted 07 November 2012 - 02:33 PM
Posted 07 November 2012 - 03:36 PM
If this post or signature was helpful and/or constructive please give rep.
// C++ Video tutorials
// Easy to learn 2D Game Library c++
SFML2.2 Download http://www.sfml-dev.org/download.php
SFML2.2 Tutorials http://www.sfml-dev.org/tutorials/2.2/
// Excellent 2d physics library Box2D
// SFML 2 book
Posted 07 November 2012 - 03:49 PM
and what is the difference between ruby program language and python?
Posted 07 November 2012 - 11:31 PM
Posted 08 November 2012 - 12:56 AM
Edited by ISDCaptain01, 08 November 2012 - 01:57 AM.
Posted 08 November 2012 - 07:14 AM
Yep, and specifically Stroustrup's Programming: Principles and Practice which is aimed at beginners. If you just say "Stroustrup's book", a lot of people will be thinking about The C++ Programming Language which is not for beginners.
patisake: "beginning game programming" books are generally crap. Learn C++ from Stroustrup's book.
Posted 08 November 2012 - 02:29 PM
Posted 12 November 2012 - 04:18 AM
Posted 12 November 2012 - 06:48 AM
If I had a do over, I'd start with a simple C book in order to learn the basics of the language "before" adding the ++ bit to it. Unfortunately such books are becoming less available as everything is C++ now. Learning C++ requires taking bite sized bits at a time, learning the underlying C language is a great start and even though it has some unnecessary work involved, which C++ removes, the logic is often best learned in a more restrictive language. Unfortunately the due to such early language restrictions you have to "unlearn" a couple items when you transition to C++ properly..
An example of the C versus C++ issue. In C you are required to declare all variables in the current scope, defined or not prior to any code. (Any variable with a definition is considered "code", so has to come after pure declarations: i.e. "int a=0;" is a definition where "int a;" is just a declaration) in C+++ you can define new variables at any point. There are arguments for both cases but I personally prefer to keep declaration, definition and use as close as possible in the text files, so I prefer the C++ standard.
As to all the learn XYZ because they are better, more used etc. In certain contexts all such comments are probably true. If I want to program web pages, I'll use Java script, if I want to generate web pages from templates with DB integration, I'd probably use Lua on Rails, Python and Drupal are pretty popular, etc etc etc etc etc..... But for generic everyday no specific target, I will use C/C++ every time.