Programming Forums
User Name Password Register
 

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

Reply
 
Thread Tools Display Modes
Old Apr 11th, 2006, 7:04 PM   #1
Nickyj1211
Newbie
 
Join Date: Apr 2006
Posts: 15
Rep Power: 0 Nickyj1211 is on a distinguished road
Most likely a stupid question

Hey, im new here, and im new to programming all together. I was just wondering what most current video games, both for consoles and for pc are written in. For example: (PC) Counterstrike, Doom 3, Battlefield2 and any games from next gen consoles... 360, PS3 and so forth. My programming teacher said its best to master C++ first because its the most versatile and once mastered, makes it easier to learn other languages. Whats the deal?
Nickyj1211 is offline   Reply With Quote
Old Apr 11th, 2006, 7:16 PM   #2
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
It's a widely held opinion with a sound basis in reality. Won't make it easier to learn Mandarin, I don't think, or highly dissimilar programming languages.
__________________
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
Old Apr 11th, 2006, 7:35 PM   #3
King
Professional Programmer
 
King's Avatar
 
Join Date: Jan 2006
Location: Ontario, Canada
Posts: 380
Rep Power: 3 King is on a distinguished road
C++ is one of the most popular languages, and it is used a lot for game programming. But C++ is harder to learn the other languages, so may not be a good language to start with, but one you should pick up eventually. As far as game programming, for a lot of the popular games out there C++ and the DirectX API are used. The Xbox games are also coded using DirectX.. not sure about the other consoles tho.
__________________
I am Addicted to Linux!
King is offline   Reply With Quote
Old Apr 11th, 2006, 9:57 PM   #4
Nickyj1211
Newbie
 
Join Date: Apr 2006
Posts: 15
Rep Power: 0 Nickyj1211 is on a distinguished road
ok, i got you... thanks for the info.. And by the way, C++ is my first language, and i have taken a high school advanced and college level course and i would have to disagree, i think that it is a good first language... I mean, im a fast learner, but i found it very easy to pick it up and not very complicated.
Nickyj1211 is offline   Reply With Quote
Old Apr 11th, 2006, 11:37 PM   #5
Nebula
Hobbyist Programmer
 
Nebula's Avatar
 
Join Date: Oct 2005
Posts: 203
Rep Power: 4 Nebula is on a distinguished road
Send a message via AIM to Nebula
No question is stupid unless you already know the answer or you have the ability to find out yourself, and you don't.
__________________
When will Jesus bring the porkchops?
Nebula is offline   Reply With Quote
Old Apr 11th, 2006, 11:38 PM   #6
Toro
Hobbyist Programmer
 
Toro's Avatar
 
Join Date: Apr 2006
Posts: 136
Rep Power: 0 Toro is an unknown quantity at this point
C++ looks rather easy after learning C. C isn't OOP but I think you have to learn C, IMHO, for fully master C++. A lot of games were also written in C but C++ would have to be the top programming language in the game-developing industry.
Toro is offline   Reply With Quote
Old Apr 12th, 2006, 12:09 AM   #7
bl00dninja
Programming Guru
 
bl00dninja's Avatar
 
Join Date: Oct 2004
Location: namespace std
Posts: 1,246
Rep Power: 6 bl00dninja is on a distinguished road
judging from their trend over the past 10 years, i would say most of the first-party titles coming out for the nintendo revolution will probably be written in psuedocode.

JUST KIDDING!!! i don't want to hear all about how zelda 46 changed your life or how r0X0rz the stylus is for the DS. i've totally lost interest in them, and that's just a personal opinion.
__________________
i put on my robe and wizard hat...

Have you ever heard of Plato, Aristotle, Socrates?...Morons.
bl00dninja is offline   Reply With Quote
Old Apr 12th, 2006, 4:22 AM   #8
nnxion
Programming Guru
 
nnxion's Avatar
 
Join Date: Jun 2005
Location: elemental plane
Posts: 1,429
Rep Power: 5 nnxion is on a distinguished road
Quote:
Originally Posted by Nickyj1211
My programming teacher said its best to master C++ first because its the most versatile and once mastered, makes it easier to learn other languages. Whats the deal?
Ask your programming teacher if he knows anyone that masters C++. If he names one, tell him that
Quote:
Originally Posted by grumpy
Not even experts like Bjarne Stroustrup, Scott Meyers, Herb Sutter, Robert Martin, or Andrei Alexandrescu claim to be complete masters of C++.
Link to an interesting thread on the subject. Please don't revive the thread though.

Most games are indeed written in C++. That most games are written in C++ doesn't mean that's the only choice. They could have been written in Delphi or anything else really. Often large game engines and libraries are used anyway, that often takes care of the performance-needed parts. If I were to write a game, I'd probably try to go for C#.

Just so you know, I sure as hell wouldn't write my game in C, I'd definitely choose an object-oriented language.
__________________
"Employ your time in improving yourself by other men's writings, so that you shall gain easily what others have labored hard for."
-- Socrates
nnxion is offline   Reply With Quote
Old Apr 12th, 2006, 4:53 AM   #9
Arevos
Programming Guru
 
Arevos's Avatar
 
Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 5 Arevos is on a distinguished road
Quote:
Originally Posted by Nickyj1211
And by the way, C++ is my first language, and i have taken a high school advanced and college level course and i would have to disagree, i think that it is a good first language...
How many other computer languages do you know besides C++?
Arevos is offline   Reply With Quote
Old Apr 12th, 2006, 6:48 AM   #10
nnxion
Programming Guru
 
nnxion's Avatar
 
Join Date: Jun 2005
Location: elemental plane
Posts: 1,429
Rep Power: 5 nnxion is on a distinguished road
Quote:
Originally Posted by Arevos
Quote:
Originally Posted by Nickyj1211
And by the way, C++ is my first language, and i have taken a high school advanced and college level course and i would have to disagree, i think that it is a good first language...
How many other computer languages do you know besides C++?
I have a better idea, he says:
Quote:
Originally Posted by Nickyj1211
im a fast learner, but i found it very easy to pick it up and not very complicated.
So give him something a bit advanced and we can see if he can figure it out and still thinks it's "not very complicated".
__________________
"Employ your time in improving yourself by other men's writings, so that you shall gain easily what others have labored hard for."
-- Socrates
nnxion 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




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

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