![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Apr 2006
Posts: 15
Rep Power: 0
![]() |
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?
|
|
|
|
|
|
#2 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
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 |
|
|
|
|
|
#3 |
|
Professional Programmer
Join Date: Jan 2006
Location: Ontario, Canada
Posts: 380
Rep Power: 3
![]() |
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! |
|
|
|
|
|
#4 |
|
Newbie
Join Date: Apr 2006
Posts: 15
Rep Power: 0
![]() |
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.
|
|
|
|
|
|
#5 |
|
Hobbyist Programmer
|
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? |
|
|
|
|
|
#6 |
|
Hobbyist Programmer
Join Date: Apr 2006
Posts: 136
Rep Power: 0
![]() |
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.
|
|
|
|
|
|
#7 |
|
Programming Guru
![]() Join Date: Oct 2004
Location: namespace std
Posts: 1,246
Rep Power: 6
![]() |
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. |
|
|
|
|
|
#8 | ||
|
Programming Guru
![]() Join Date: Jun 2005
Location: elemental plane
Posts: 1,429
Rep Power: 5
![]() |
Quote:
Quote:
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 |
||
|
|
|
|
|
#9 | |
|
Programming Guru
![]() Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 5
![]() |
Quote:
|
|
|
|
|
|
|
#10 | |||
|
Programming Guru
![]() Join Date: Jun 2005
Location: elemental plane
Posts: 1,429
Rep Power: 5
![]() |
Quote:
Quote:
__________________
"Employ your time in improving yourself by other men's writings, so that you shall gain easily what others have labored hard for." -- Socrates |
|||
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|