is windows programed with C or C++ ?!

This is a discussion on is windows programed with C or C++ ?! within the Windows Programming forums, part of the Platform Specific Boards category; in what windows OS`s programed !! some people say to me C and the other say C++ !!! i want ...

  1. #1
    C 1337 Meshal's Avatar
    Join Date
    Nov 2006
    Posts
    70

    is windows programed with C or C++ ?!

    in what windows OS`s programed !!

    some people say to me C and the other say C++ !!!

    i want a sure answer to this question ..

  2. #2
    {Jaxom,Imriel,Liam}'s Dad Kennedy's Avatar
    Join Date
    Aug 2006
    Location
    Alabama
    Posts
    1,065
    Yes. It is. Also Assembly. . . and probably others.

  3. #3
    Crazy Fool Perspective's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    2,640
    Mostley Java and Objective-C.

  4. #4
    {Jaxom,Imriel,Liam}'s Dad Kennedy's Avatar
    Join Date
    Aug 2006
    Location
    Alabama
    Posts
    1,065
    Quote Originally Posted by MSDN
    The single characteristic that sets the Microsoft Foundation Class (MFC) Library apart from other class libraries for Windows is the very close mapping to the Windows API written in the C language.
    Reference
    I think Assembly MUST be used to form the base of the OS (Basic I/O, including, but not limited to: Screen control, Keyboard input, mouse input, disc/disk access, etc.).

  5. #5
    C 1337 Meshal's Avatar
    Join Date
    Nov 2006
    Posts
    70
    thanks for reply..
    so windows never been programmed using C++ ?!

  6. #6
    C 1337 Meshal's Avatar
    Join Date
    Nov 2006
    Posts
    70
    yes i know that .. assembly is imortant in every OS`s Creation even SunOS..

    but my question is what windows programmed with(in high level) C or C++????!

    my friend that work in Microsoft Company say windows is programmed with C++ more than C
    is this true ?!

  7. #7
    Registered User Tonto's Avatar
    Join Date
    Jun 2005
    Location
    New York
    Posts
    1,465
    I doubt it. How I understand it:

    Hardware Interfacing: Assembly
    Kernel / API: C
    'Windows' / Shell: C++

    ╔╗╔╦══╦╗╔╦══╦╗
    ║╚╝║╔╗║╚╝║╔╗║║
    ║╔╗║╠╣║╔╗║╠╣╠╣
    ╚╝╚╩╝╚╩╝╚╩╝╚╩╝

    codez http://code.google.com/p/zxcvbn/

  8. #8
    Reverse Engineer maxorator's Avatar
    Join Date
    Aug 2005
    Location
    Estonia
    Posts
    2,318
    Mostley Java and Objective-C.
    Windows programmed in Java... oh it's so funny!!
    Last edited by maxorator; 11-30-2006 at 04:01 AM.
    "The Internet treats censorship as damage and routes around it." - John Gilmore

  9. #9
    Registered User Tonto's Avatar
    Join Date
    Jun 2005
    Location
    New York
    Posts
    1,465
    @maxorator;

    If you're being sarcastic, you're dumb.
    If you're being serious, your brain is broken.

    ╔╗╔╦══╦╗╔╦══╦╗
    ║╚╝║╔╗║╚╝║╔╗║║
    ║╔╗║╠╣║╔╗║╠╣╠╣
    ╚╝╚╩╝╚╩╝╚╩╝╚╩╝

    codez http://code.google.com/p/zxcvbn/

  10. #10
    Reverse Engineer maxorator's Avatar
    Join Date
    Aug 2005
    Location
    Estonia
    Posts
    2,318
    He's making fun, yes, but it's still funny... why can't I laugh on jokes?
    "The Internet treats censorship as damage and routes around it." - John Gilmore

  11. #11
    Registered User Tonto's Avatar
    Join Date
    Jun 2005
    Location
    New York
    Posts
    1,465
    BichbuhcuzIsedso.

    ╔╗╔╦══╦╗╔╦══╦╗
    ║╚╝║╔╗║╚╝║╔╗║║
    ║╔╗║╠╣║╔╗║╠╣╠╣
    ╚╝╚╩╝╚╩╝╚╩╝╚╩╝

    codez http://code.google.com/p/zxcvbn/

  12. #12
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,892
    C++ code can easily expose a C API. Why is it so hard to believe that there is more C++ code in Windows than C code?

    All the advanced functionality - COM and everything that builds on it - many of the programs that come with it, they're all written in C++. C is probably only used for the innermost core. And Assembly, contrary to popular belief, is used only as a very, very thin layer of glue in most OSs.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  13. #13
    Supermassive black hole cboard_member's Avatar
    Join Date
    Jul 2005
    Posts
    1,709
    I'm led to believe (not by this thread) that the kernel is mostly (all?) written in C while most (...all?) of the "standard applications" (notepad, explorer, WMP) are written in C++.
    Good class architecture is not like a Swiss Army Knife; it should be more like a well balanced throwing knife.

    - Mike McShaffry

  14. #14
    C 1337 Meshal's Avatar
    Join Date
    Nov 2006
    Posts
    70
    thanks guys for answering me ,,

  15. #15
    Registered User
    Join Date
    May 2006
    Posts
    903
    I also think assembly must not be used that much. The drivers the OS relies on, though, would use mucho more assembly code, I think.

Page 1 of 2 12 LastLast
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Windows 98/2000 programming in Windows XP
    By Bill83 in forum Windows Programming
    Replies: 3
    Last Post: 07-22-2005, 02:16 PM
  2. Dialog Box Problems
    By Morgul in forum Windows Programming
    Replies: 21
    Last Post: 05-31-2005, 05:48 PM
  3. dual boot Win XP, win 2000
    By Micko in forum Tech Board
    Replies: 6
    Last Post: 05-30-2005, 02:55 PM
  4. SDL and Windows
    By nickname_changed in forum Windows Programming
    Replies: 14
    Last Post: 10-24-2003, 12:19 AM
  5. IE 6 status bar
    By DavidP in forum Tech Board
    Replies: 15
    Last Post: 10-23-2002, 05:31 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21