Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Aug 13th, 2007, 12:15 AM   #1
ThatBuddyKid
Newbie
 
Join Date: Jul 2007
Posts: 5
Rep Power: 0 ThatBuddyKid is on a distinguished road
Question C sound good?

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.
ThatBuddyKid is offline   Reply With Quote
Old Aug 13th, 2007, 2:21 AM   #2
lectricpharaoh
Caffeinated Neural Net
 
lectricpharaoh's Avatar
 
Join Date: Jun 2005
Location: Dry west coast of Canada
Posts: 1,032
Rep Power: 5 lectricpharaoh will become famous soon enough
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
lectricpharaoh is offline   Reply With Quote
Old Aug 13th, 2007, 9:46 AM   #3
melbolt
Hobbyist Programmer
 
melbolt's Avatar
 
Join Date: Feb 2005
Location: PA, USA
Posts: 242
Rep Power: 4 melbolt is on a distinguished road
Send a message via AIM to melbolt Send a message via Yahoo to melbolt
Quote:
Originally Posted by lectricpharaoh View Post
Having said all that, you can write games in just about any language you choose, even Visual Basic or Pascal.
I highly recommend COBOL :eek:
__________________
I have never let my schooling interfere with my education. -Mark Twain-

Xbox live gamertag: melbolt
melbolt is offline   Reply With Quote
Old Aug 13th, 2007, 2:40 PM   #4
ThatBuddyKid
Newbie
 
Join Date: Jul 2007
Posts: 5
Rep Power: 0 ThatBuddyKid is on a distinguished road
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.
ThatBuddyKid is offline   Reply With Quote
Old Aug 13th, 2007, 4:08 PM   #5
bigguy
Professional Programmer
 
bigguy's Avatar
 
Join Date: Sep 2005
Location: Arkansas
Posts: 298
Rep Power: 0 bigguy is an unknown quantity at this point
Send a message via AIM to bigguy Send a message via MSN to bigguy Send a message via Yahoo to bigguy
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.
bigguy is offline   Reply With Quote
Old Aug 13th, 2007, 5:28 PM   #6
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
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
DaWei is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Vista Sound Driver Issues (Creative Cards) Ghost Coder's Corner Lounge 3 May 31st, 2007 2:36 PM
Questions about extra Sound and Graphics libraries Soulstorm C++ 2 May 15th, 2006 10:42 AM
Good C++ Books MrMan9879 C++ 3 Oct 19th, 2005 12:13 PM
turning integers into sound? clam Visual Basic .NET 2 Aug 23rd, 2005 1:28 PM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 6:16 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC