Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Managed C++/CLI
  4. What is the meaning of Managed C++..

What is the meaning of Managed C++..

Scheduled Pinned Locked Moved Managed C++/CLI
c++question
5 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Y Offline
    Y Offline
    Yuwraj
    wrote on last edited by
    #1

    :) Hi, I am little bit in confusion that what is diff between managed C++ code and other code which is not managed,Pl'z Resolve this. Good is not good when better is excepted Yuwraj

    L I T G 4 Replies Last reply
    0
    • Y Yuwraj

      :) Hi, I am little bit in confusion that what is diff between managed C++ code and other code which is not managed,Pl'z Resolve this. Good is not good when better is excepted Yuwraj

      L Offline
      L Offline
      larryfran
      wrote on last edited by
      #2

      This is a.k.a. "Managed Extensions of C++", as Microsoft used to call it. Now It is "Managed C++". In .NET Framework terminology, Any code that is complied by .NET Framework is "Managed" otherwise is not. wikipedia. has an article on this, though not full-fledged explanation.

      1 Reply Last reply
      0
      • Y Yuwraj

        :) Hi, I am little bit in confusion that what is diff between managed C++ code and other code which is not managed,Pl'z Resolve this. Good is not good when better is excepted Yuwraj

        I Offline
        I Offline
        imsathy
        wrote on last edited by
        #3

        The CLR takes care of the removing the unrefernced objects in the case of managed code While in the case of unmanaged code u should make sure u dispose them sathy

        1 Reply Last reply
        0
        • Y Yuwraj

          :) Hi, I am little bit in confusion that what is diff between managed C++ code and other code which is not managed,Pl'z Resolve this. Good is not good when better is excepted Yuwraj

          T Offline
          T Offline
          toxcct
          wrote on last edited by
          #4

          i'm not a MC++ expert, but here are the facts. every program compiled to run on the .NET framework is not compiled in native language (directly for the microprocessor) but into an intermediate language called MSIL (Microsoft Intermediate Language). Then, at the first execution of the program, its final compilation into native is executed BY the framework, so that the same program can be run either on whatever plateform that have the .NET framework running... it is exactly the same as java does with its Byte-Code intermediate language and its JVM/JRE (java virtual machine/Java runtime environment). there are several languages purely oriented .NET such as C# or VB.NET, and C++ has been implemented too (with several differences in the syntax also) within the new Managed C++ language, also refered to as C++/CLI...


          TOXCCT >>> GEII power
          [toxcct][VisualCalc 2.20][VCalc 3.0 soon...]

          1 Reply Last reply
          0
          • Y Yuwraj

            :) Hi, I am little bit in confusion that what is diff between managed C++ code and other code which is not managed,Pl'z Resolve this. Good is not good when better is excepted Yuwraj

            G Offline
            G Offline
            George L Jackson
            wrote on last edited by
            #5

            Some applications, during run-time, require dynamic memory allocations to do the required data processing. If these allocations of memory are not returned to the operating system before the application terminates, no other application can reallocate this memory (this is known as a "memory leak"). With unmanaged code, it is the responsibility of the developer to deallocate memory before application expected or unexpected termination. With managed code, memory deallocation is taken care of by a process called Garbage Collection (GC). The GC process reduces the developer's burden of managing memory.

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups