Thread: silly question??

  1. #1
    Its hard... But im here swgh's Avatar
    Join Date
    Apr 2005
    Location
    England
    Posts
    1,688

    silly question??

    I know I have alot to learn about C++. but I would like to know
    in advance.

    Take a game like Zelda windwaker on the gmaecube.

    Is the whole game program written as one source code, spli into sevral functions and modules, with about 12 people working on each module, or are all the programs linked together when its all complete? And also, how many compile errors do you think they get (chuckle!!)

  2. #2
    Registered User
    Join Date
    Jan 2005
    Posts
    847
    A big comercial project like a game is almost certainly going to be modular with different modules being worked on by different people. And there will be a lot of use of library functions possibly legacy code from olde projects. All source files are compiled to object files and then the object files are linked to form an executable program.

  3. #3
    Anti-Poster
    Join Date
    Feb 2002
    Posts
    1,401
    Quote Originally Posted by swgh
    And also, how many compile errors do you think they get (chuckle!!)
    If it works, zero.
    If I did your homework for you, then you might pass your class without learning how to write a program like this. Then you might graduate and get your degree without learning how to write a program like this. You might become a professional programmer without knowing how to write a program like this. Someday you might work on a project with me without knowing how to write a program like this. Then I would have to do you serious bodily harm. - Jack Klein

  4. #4
    Hardware Engineer
    Join Date
    Sep 2001
    Posts
    1,398
    Yeah. I don't know about that particular game, but most commercial programs are written by a team. Typically, each team member will have a speciality.

    There is a lot of "shareware" written by (and distributed by) single programers. I'll bet that most open source projects have 90 percent of their code written by one programmer.

    Every programmer makes errors every day. But there are no "compile errors" in the released code (or it wouldn't compile). Just about every large program has known and unknown runtime "bugs".

    Most programs are simply too big not to be modular! I doubt that there are many commercial programs with less than 10,000 lines of code. Microsoft probably has 1000 programmers working on the next version of Office.

    Although Linux was originally created by one guy, it has grown beyond what one person could do. Linux 2.4 has about 2.4 million lines of code!

    Also, I think that the graphics for these games are pre-created on powerful workstations running special 3D graphics software. It takes rooms-full of computers to render an animated movie, and some game graphics are almost as good.

  5. #5
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    Also, I think that the graphics for these games are pre-created on powerful workstations running special 3D graphics software. It takes rooms-full of computers to render an animated movie, and some game graphics are almost as good.
    Not.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Silly question but..
    By swgh in forum C++ Programming
    Replies: 3
    Last Post: 05-05-2008, 12:39 PM
  2. A silly question but it's my doubt ;)
    By chottachatri in forum C++ Programming
    Replies: 19
    Last Post: 04-23-2008, 01:26 PM
  3. Really quick silly question.
    By Jozrael in forum C++ Programming
    Replies: 36
    Last Post: 04-04-2008, 08:31 AM
  4. Question...
    By TechWins in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 07-28-2003, 09:47 PM
  5. opengl DC question
    By SAMSAM in forum Game Programming
    Replies: 6
    Last Post: 02-26-2003, 09:22 PM