Re: Was Windows coded in C/C++ completely?



kimiraikkonen wrote:

Hello,
Just wondering, which versions of Windows coded in C/C++ "completely"
or was coded particularly? Or which parts(APIs, interface, kernel...)
of Windows contains C++?

Windows is coded in C. It probably starts with 'void main'.

(That's an inside joke - 'void main' is not well-formed C, and MS flouts
this compliance issue.)

Much of Windows probably uses the C++ compiler settings. MS marketects claim
Windows is written in C++. If were, then its APIs would take objects
instead of handles.

Also i want to know which programming language is much efficent and
easy-to-organize/learn under Windows platform for me? C++ or Visual
Basic or other?

To do what? Most user-level coding (GUIs, desktop applications) should use a
soft language, such as Ruby. These apps don't need to do anything to the
kernel, and they should only access files and windows in stereotypical
ways.

--
Phlip
http://www.oreilly.com/catalog/9780596510657/
^ assert_xpath
.



Relevant Pages

  • Re: Vista looks like a pile of crap compared to Mac OS X
    ... all I have to do is select the Bluecurve theme and it gets applied to all windows. ... The visual presentation of a window is incredibly important when it comes to providing a consistent interface. ... If they distribute it with their operating system, then they're responsible for making it work properly. ... aspect of GUIs, but I'm not at all tied to them. ...
    (comp.sys.mac.advocacy)
  • Re: Preventing A New Window From Grabbing Focus
    ... Can you try it on Windows? ... public static void main(Stringargs) { ... private void jButton1ActionPerformed ...
    (comp.lang.java.programmer)
  • Re: Help! Simple threaded GUI
    ... windows XP, but not in Windows CE 5.0. ... public delegate void DisplayMessageDelegate; ... DisplayMessageDelegate displayMessage = new ... genericThread = new Thread); ...
    (microsoft.public.windowsce.app.development)
  • [Full-Disclosure] Shatter XP
    ... introduces several new messages for the windows button control: ... - inject shellcode to known location ... void doWrite; ... printf("+ Couldn't Find %s Window\n",tWindow); ...
    (Full-Disclosure)
  • Re: Visual Fortran
    ... In fact is does have to do with building GUIs, it isn't just the "integration" with Visual Studio. ... It meant that you can easily build programs for Windows, ... So it provides also all of the OS API interfaces as well, conveniently for calling from Fortran. ... The GUI interface will build a skeleton project just as does the C/C++ Visual interface but there's no additional high level abstraction provided in the environment; all is done manually by the developer, not like a Visual Basic environment that hides most of the guts of the process. ...
    (comp.lang.fortran)