![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Jul 2007
Posts: 5
Rep Power: 0
![]() |
Hey everyone I haven't posted something since i first got interested in programming. Since then I sat down read some books and after learning some fundamentals of Programming I've decided to try and master C then go into C++ and eventually evolve into Java and go from there. My eventual goal is to get into game design/programming and i just wanted to make sure my approach was
one I wouldn't later regret. |
|
|
|
|
|
#2 |
|
Caffeinated Neural Net
![]() Join Date: Jun 2005
Location: Wet west coast of Canada
Posts: 1,120
Rep Power: 5
![]() |
Depending on the type(s) of game(s) you're aiming for, I'd go with C++ or C#. There's no need to learn C before C++. In fact, though the syntax of the two is quite similar, many of the concepts are different, and by learning C first, you'll build habits that (while making you a good C programmer) are ill-advised for C++.
My suggestion of C++ applies if you want to code demanding games (complex 3D games, in particular). C# isn't quite as good for high-perfomance 3D (though it's certainly closing the gap, with improvements in Managed DirectX), but in many respects, it's a much easier language to work with. If you're planning on simpler games, such as 2D games or 3D games without a lot of fancy effects, C# would be a better choice, in my opinion (assuming, of course, you're developing for Windows). Though C++ code is, in theory, more efficient, in reality, the difference is small. First, .NET uses 'just in time compilation', where the bytecode is compiled to native code when the program is run (and cached, so subsequent function calls are full-speed). Second, for games, much of the performance is offloaded to the graphics hardware. Lastly, using a language such as C# provides certain features to help prevent common problems, such as memory leaks, which can impact performance (among other things). Having said all that, you can write games in just about any language you choose, even Visual Basic or Pascal.
__________________
And once again, Probability proves itself willing to sneak into a back alley and service Drama as would a copper-piece harlot. - Vaarsuvius, Order of the Stick |
|
|
|
|
|
#3 |
|
Professional Programmer
Join Date: Feb 2005
Location: PA, USA
Posts: 253
Rep Power: 4
![]() |
I highly recommend COBOL :eek:
__________________
I have never let my schooling interfere with my education. -Mark Twain- Xbox live gamertag: melbolt |
|
|
|
|
|
#4 |
|
Newbie
Join Date: Jul 2007
Posts: 5
Rep Power: 0
![]() |
Good advise I think I'll do a little more research into it but i can see how learning
c++ right off the bat could be helpful apposed to learning both c and c++ not to mention how much time it'll save. |
|
|
|
|
|
#5 |
|
Professional Programmer
|
I like C, and Pascal better then C++. but I don't know much about game programming.
__________________
Forgiveness is the fragrance that the violet sheds on the heal that has crushed it. - Mark Twain Destruction leads to a very rough road, but it also breeds creation. |
|
|
|
|
|
#6 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
I like hold'em better than nuclear physics. That's because hold'em, on the average, requires less learning, not because it's superior, on the average, in its payoff.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Vista Sound Driver Issues (Creative Cards) | Ghost | Coder's Corner Lounge | 3 | May 31st, 2007 3:36 PM |
| Questions about extra Sound and Graphics libraries | Soulstorm | C++ | 2 | May 15th, 2006 11:42 AM |
| Good C++ Books | MrMan9879 | C++ | 3 | Oct 19th, 2005 1:13 PM |
| turning integers into sound? | clam | Visual Basic .NET | 2 | Aug 23rd, 2005 2:28 PM |