Results 1 to 3 of 3

Thread: What is managed C++

  1. #1

    Thread Starter
    Lively Member FantastichenEin's Avatar
    Join Date
    Mar 2000
    Location
    dairy
    Posts
    106

    Question What is managed C++

    Can somebody give me a very basic overview of what managed C++ is under .NET.

    Many thanks
    ****

  2. #2
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256
    Posted by CornedBee:

    Unmanaged C++ is traditional C++ the way we know it.

    Managed C++ is a special capability of the Visual C++.NET compiler. It means that C++ code is compiled to .NET MSIML (bytecode) instead of native code, uses the .NET CLR (framework) and GC (garbage collection). Beside the /clr compiler switch it also requires a few special keywords to be used, the most important being __gc for class and/or pointer declarations (a bit tricky). The #import directive and the using keyword are also important, as well as the __delegate keyword.
    My evil laugh has a squeak in it.

    kristopherwilson.com

  3. #3
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    Nice to see me quoted
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width