[For a Beginner] C++ express 2010 or C++ express 2012?
#1 Members - Reputation: 149
Posted 25 September 2012 - 07:17 AM
*Should I start learning with C++ express 2010 or C++ express 2012? (or something else)
*Any other general advice?
I removed the poll. Please see the FAQ. -- jpetrie
#4 Members - Reputation: 287
Posted 25 September 2012 - 09:40 AM
C++ is great because it allows complete freedom in the style you use. I think it'd be better of C# simply because of this. It's standard library is organised in a slightly odd way (coming from C) but I'd say it'd introduce you into more, faster.
Actually, I learnt way more using NMAKE; but then I'm not sure where you stand in terms of previous experience. NMAKE means you don't generate all those extra files from Visual Studio that detract from what your actually doing. Points out what your actually doing far more.
Edited by BinaryPhysics, 25 September 2012 - 10:09 AM.
#5 Members - Reputation: 149
Posted 25 September 2012 - 10:12 AM
How long do you think it takes to make a game like Igneous? a group of students at DigiPen made it (link: https://www.digipen.edu/?id=1170&proj=8713)
#7 Members - Reputation: 287
Posted 25 September 2012 - 10:27 AM
What you want to do is absolutely obtainable but I think it would be a good idea to sit down and look at C++ first. The best piece of advice I ever saw was "know your language". You don't want to be wondering why something won't compile simple because you don't understand what you did wrong with a library function or syntax.
Also if you want to write 'big' projects I cannot rate something like Git (http://git-scm.com) more highly. There's a lot of cool project GitHub too (https://github.com/). A book I own is Game Engine Architecture (http://www.amazon.co.uk/Game-Engine-Architecture-Jason-Gregory/dp/1568814135) which demonstrates the complexity of such systems.
Ultimately I think just starting a language is the best way to go. Learn syntax, learn the standard library, and come up with projects. There's a lot to learn. Don't get distracted or discouraged.
#8 Members - Reputation: 335
Posted 25 September 2012 - 11:46 AM
C++ as a language is the best if you start to do a real project. It's not the best to learn about programming and object-oriented development methods.
#9 Members - Reputation: 1113
Posted 25 September 2012 - 12:34 PM
#10 Members - Reputation: 149
Posted 25 September 2012 - 12:54 PM
I cannot think of any reasonable justification for a complete beginner learning C++ over something like C#. "Complete freedom" for a beginner = enough rope to hang yourself many times over. There's nothing that cannot be learned faster and easier with other languages without the frustration of the sort of problems C++ can throw at you. Unless you have an academic or professional reason to learn C++ as a first language, I strongly recommend against it.
Again would I still be able to make good things in C#? I know that I am not going to make an amazing game in a day but I still want to make sure that the language I start with is good.
Edited by KernalPanic, 25 September 2012 - 12:55 PM.
#11 Members - Reputation: 1113
Posted 25 September 2012 - 01:06 PM
I cannot think of any reasonable justification for a complete beginner learning C++ over something like C#. "Complete freedom" for a beginner = enough rope to hang yourself many times over. There's nothing that cannot be learned faster and easier with other languages without the frustration of the sort of problems C++ can throw at you. Unless you have an academic or professional reason to learn C++ as a first language, I strongly recommend against it.
Again would I still be able to make good things in C#? I know that I am not going to make an amazing game in a day but I still want to make sure that the language I start with is good.
You're getting too hung up on vague generalizations such as is C++ or C# "good" or "better". Better for what purpose? If one was a simple "one size fits all" case of "better" then why would anyone recommend the "worse" language? But in any case, all of this is inconsequential. Learning programming is only marginally to do with a language's syntax, the rest of the skills are transferable. "Better" in your case would be more beginner friendly and forgiving language that has a more gentle learning curve, something C++ fails on all accounts.
Edited by GeneralQuery, 25 September 2012 - 01:07 PM.
#12 Members - Reputation: 689
Posted 25 September 2012 - 01:28 PM
I'm personally a fan of JavaScript. Some may call me crazy but I find it to not only be simple to develop in, but fun as well. I enjoy being able to write a JavaScript-based game that runs in the web browser that any of my friends can connect to and interact with. If you're dead set on following an OOP design strategy you could also use CoffeeScript which lets you just.... go forth and make things. CoffeeScript compiles to JavaScript and hides all the nasty prototype nonsense involved in creating a class in JavaScript.
Another alternative would be Python. It's expressive and powerful. There's also a nice game development library for Python game developers.
Others have suggested C# as a language to use for game development. It definitely is a valid choice and with supportive libraries provided by the likes of XNA and such, you can make some pretty kickass games. However, I feel that C#, like C++ just has baggage you need to sort through before getting to focus on the meat of programming and distracts from being able to just get things done. C# makes some things pretty damn easy (XML serialization, stream i/o, threading) but there's things like the garbage collector that'll become annoyances you have to be mindful of and tiptoe around (or *gasp* play nicely with).
I would say, that if you're just starting, make some 2D games and start out with a language that just lets you focus on programming, programming, and programming. These could be C, Python, JavaScript, or some other languages that I've failed to mention. C++ and C# are powerful, sure, but they'll also weigh you down with a bunch of crap that you, as a beginning game programmer, really don't need to deal with.
Get started with some excellent material over at http://programming-motherfucker.com/become.html.
Here's some good tutorials for Python and C.
Lastly, it never hurts to know more languages. There's nothing stopping you from learning all of the languages mentioned in the thread. Once you learn how to program, it just becomes a matter of learning language syntax for the most part.
#13 Members - Reputation: 704
Posted 25 September 2012 - 01:33 PM
you know you program too much when you start ending sentences with semicolons;
#14 Members - Reputation: 296
Posted 25 September 2012 - 01:38 PM
C++: more complex, but harder to learn, especially for a beginner nothing i would recommend. but it is not impossible.
Long story short: The language isn´t that relevant. It´s important to stick to one language and learn it. you have to get used to it. going to another language is really easy if you already know a language.
I personally recommend starting with C#
When you got some more experience you will know what to do next. Keep coding and practicing. Read one or two books and make some small games.
And don´t Rush to 3D to fast
#15 Members - Reputation: 296
Posted 25 September 2012 - 01:41 PM
... I'd even say C would be better to start with since there's less baggage to deal with when all you want to do is program (plus it transitions nicely into C++ when you're ready to work with it)...
It isn´t even object oriented. Thats definitly not what you want to do if you want to get a game dev. Objects are the base of a game. C seems to be the worst decision for a beginner
EDIT: look into the forum, there you will see wich languages are commonly used
And here is a good link for you: http://www.gamefroms...-developer.aspx
Edited by Sooker, 30 September 2012 - 09:47 AM.
#16 Members - Reputation: 689
Posted 25 September 2012 - 01:57 PM
... I'd even say C would be better to start with since there's less baggage to deal with when all you want to do is program (plus it transitions nicely into C++ when you're ready to work with it)...
Really C?
It isn´t even object oriented. Thats definitly not what you want to do if you want to get a game dev. Objects are the base of a game. C seems to be the worst decision for a beginner
You don't need to be object-oriented to make a game. It definitely can help programmers make sense of how things are organized but it's not a necessity.
However, it's worth noting that it's easily possible to get object-oriented programming happening with C through the use of structs to define, well, objects. Did you know Quake 3 Arena was developed in C? id software seemed to get a game built with C pretty well several times I'd say.
The great thing about C, for the beginner, is that it doesn't come with all the baggage and cruft that C++ has. On the other hand, C++ has a fantastic selection of libraries and makes some things easier and less scary to deal with (std::string vs. c-style strings, new/delete vs. malloc/realloc/calloc/free).
C has similar, but simpler syntax and less gotchas than C++.
#17 Members - Reputation: 296
Posted 25 September 2012 - 02:08 PM
sure they made good games with C, but now it is way more easy and future oriented to start object oriented. procedual (C-like) programming is always included in C++/C#/Java etc.
There are more then enough threads about wich language to choose.
#18 Members - Reputation: 426
Posted 25 September 2012 - 02:11 PM
#19 Members - Reputation: 754
Posted 25 September 2012 - 02:56 PM
As for c++/c# for a first language, you will have an easier time learning c#. You will have a harder time learning c++. Writing c++ code usually takes more work and more lines of code. However the trade off is more speed and power (which c# people may argue against).
There are some other very good alternatives to Microsoft IDE's. Such as QT Creator the IDE that comes with QT SDK, Code::blocks, eclipse, and more. These are all free and open source.
Edited by EddieV223, 25 September 2012 - 03:09 PM.
If this post was helpful and/or constructive please give rep.
SFML2.0 Download http://www.sfml-dev.org/download.php
SFML2.0 Tutorials http://www.sfml-dev.org/tutorials/2.0/
#20 Members - Reputation: 689
Posted 25 September 2012 - 05:18 PM
I dont want to start a flamewar...
sure they made good games with C, but now it is way more easy and future oriented to start object oriented. procedual (C-like) programming is always included in C++/C#/Java etc.
There are more then enough threads about wich language to choose.
I don't think a flamewar is being started. I didn't bash C++ and say C is superior or anything of the sort. However, for a beginner, learning to program is much more important than learning how to work around crazy gotchas and odd rules of a language. C is simple, capable, powerful.
I can't tell you the number of times I see beginners (and some fairly well-versed programmers) lose sight of the program itself and get caught up on details like "how to best organize an inheritance tree for my classes" and deciding if they should define an object as a collection of objects or as a specialized derived type of some master parent class (which could be derived from an even more generic parent class, etc... This is closely related to how to organize an inheritance structure). This just distracts from the main goal of getting programming done.
C++ has some great features as part of the standard language and as part of various libraries. Don't get me wrong, I like the language. I wouldn't wish it upon any beginner though as I feel it's extremely important to learn how to form a program from blocks of logic rather than having to worry about how a language does things. C++ has too much stuff going on for the same abilities as C. Yes, C++ is great for OOP designs but keep in mind that OOP is not a silver bullet to solve all programming solutions but just one of many paradigms to help describe and organize sets of problems for programmers to make sense of.
I feel quite strongly that if the OP starts off with C++ without having a general idea of how to program to begin with, he's just going to wind up spending more time pulling his hair out over things (first to come to mind is class inheritance) specific to the language rather than pulling his hair out over the actual problem at hand.






