Thread: How deep can you go wtih c++

  1. #1
    Politics&Cpp geek Da-Nuka's Avatar
    Join Date
    Oct 2004
    Posts
    104

    How deep can you go wtih c++

    How deep can you go with C++? What is the limits?
    And if you go so deep that you make your own GUI's and stuff, do this mean you have to go into the C++ libaries and headerfiles?

  2. #2
    Registered User Kybo_Ren's Avatar
    Join Date
    Sep 2004
    Posts
    136
    You can go down to assembly. You can do nearly anything.

    You can make your own GUI system. You can make your own OS (though parts cannot be written in any language but assembly).

    C++ libraries and header files can be made, and they don't have to be used... What exactly are you asking?

  3. #3
    C/C++ homeyg's Avatar
    Join Date
    Nov 2004
    Location
    Louisiana, USA
    Posts
    209
    I'm sure you could go deep enough to program your own operating system.

    Edit: Shoot, someone beat me again!

  4. #4
    Registered User
    Join Date
    Sep 2001
    Posts
    4,912
    You can pretty much go as deep as you want. Someone was working on a list of things you can't do in C/C++ that you can do in Assembly, and the list was only 5 long, if that answers your question.

    edit: You can make MOST of an operating system. Boot loaders still need to be in Assembly.
    Last edited by sean; 12-30-2004 at 04:43 PM.

  5. #5
    Registered User
    Join Date
    Mar 2004
    Posts
    220
    The real answer isn't really an answer, but it is: How deep do you want to go?

    In all actuality, you can do anything with C++, even if you modify the compiler a 'lil bit Who says you need to code ASM to use ASM? At least that's my theory. I'm sure there are loads of people that don't want to spend the time with ASM, and would rather ask a friend who knows ASM to do it for 'em.

    Whether or not you would allow having someone coding it for you, is really the mitigating factor in whether or not you're going to progress from the standard C++.
    OS: Windows XP Pro CE
    IDE: VS .NET 2002
    Preferred Language: C++.

  6. #6
    Registered User
    Join Date
    Sep 2004
    Posts
    197
    Almost any thing is possible. You can embed ASM into your code if needed for some of the basic OS stuff, and there are kernels out there writen in C++.
    If any part of my post is incorrect, please correct me.

    This post is not guarantied to be correct, and is not to be taken as a matter of fact, but of opinion or a guess, unless otherwise noted.

  7. #7
    Registered User jlou's Avatar
    Join Date
    Jul 2003
    Posts
    1,090
    Quote Originally Posted by Da-Nuka
    How deep can you go with C++? What is the limits?
    1000 meters.

  8. #8
    Arggggh DeepFyre's Avatar
    Join Date
    Sep 2004
    Posts
    227
    Quote Originally Posted by jlou
    1000 meters.
    id say more of 1001 meters....
    Keyboard Not Found! Press any key to continue. . .

  9. #9
    Registered User Finchie_88's Avatar
    Join Date
    Aug 2004
    Posts
    154
    Xipher said that kernels can be coded in C++, is that just theory or are there really some kernels coded with C++ and if so, does any1 know any examples?


  10. #10
    Mayor of Awesometown Govtcheez's Avatar
    Join Date
    Aug 2001
    Location
    MI
    Posts
    8,823
    Some Linux kernels. Do a google search - you'll find hundreds.

  11. #11
    Registered User
    Join Date
    Nov 2004
    Location
    Pennsylvania
    Posts
    434

    Cool

    Like they said, almost anything, in fact i'd like to see the Assembly vs. C++ list. I think one of the Counter-Strike computer games was written with some C++!

  12. #12
    Registered User
    Join Date
    Dec 2004
    Posts
    465
    I thought most things were written in c++? What else do video game programmers write in?

  13. #13
    Registered User
    Join Date
    Dec 2004
    Location
    UK
    Posts
    109
    Programmers used to write mostly in c and assembler a few years ago (the first two Theme Park games were written only in assembler if I recall correctly). But as games are getting bigger and computer more powerful the slight loss of efficiency (real or imagined) due to writing in c++ is far outweighted by the increased ease in coding the game.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Deep and Shallow Copying
    By peckitt99 in forum C++ Programming
    Replies: 4
    Last Post: 08-18-2007, 09:37 PM
  2. Deep and Shallow Copy
    By peckitt99 in forum C++ Programming
    Replies: 2
    Last Post: 05-13-2007, 07:28 AM
  3. In deep copy
    By Belzebuts in forum C Programming
    Replies: 1
    Last Post: 02-05-2006, 11:58 AM
  4. Deep Impact
    By jverkoey in forum A Brief History of Cprogramming.com
    Replies: 4
    Last Post: 07-05-2005, 10:58 AM
  5. Deep Exploration, OpenGL, and 3d models
    By DavidP in forum Game Programming
    Replies: 18
    Last Post: 04-06-2003, 01:12 PM