Thread: how powerful the manged c++ from .net is?

  1. #1
    Registered User
    Join Date
    Sep 2008
    Posts
    76

    how powerful the manged c++ from .net is?

    I want to know if managed c++ have the same power as the standard c++ does.

    And how to run ANSI c++ in .net.?

    please enlighten me

    best regards,
    Chakra

  2. #2
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    ANSI (or rather, the proper name, ISO) C++ cannot run in dotNet.
    That said, though, I believe C++/CLI (managed) is able to do everything ISO C++ can. For now. That will probably change as C++0x comes out.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  3. #3
    Registered User
    Join Date
    Sep 2008
    Posts
    76
    Oh! I see.. , thanks for reply

  4. #4
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,895
    Managed Extensions for C++, as it appears in Visual Studio.Net 2002 and 2003, is a broken mess. Don't use it.

    C++/CLI in Visual Studio.net 2005 and 2008 is apparently a very well-designed language that merges standard C++ (as much as VS supports) as well with CLI capabilities as can probably be expected. It supports everything standard C++ does, every CLI feature worth supporting, and even manages to combine these features very well. For example, you can define real CLI class templates (every instantiation is an unrelated CLI class, of course), and you can pass CLI generic classes to templates that have template template parameters.
    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

  5. #5
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Although as it is its own standard, it will probably have to be updated to use the new C++ features. But perhaps it can be pretty certain they, too, will get the new C++ features, in time. We will see.
    Last edited by Elysia; 01-30-2009 at 03:05 AM.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  6. #6
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,895
    The standard will have to be updated. The actual implementation will just pick these features up as they are implemented in Visual Studio, I'd say.
    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

  7. #7
    Registered User
    Join Date
    Sep 2008
    Posts
    76
    Well, that explains what managed c++ is.

    thanks all

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. migrate from .Net 2.0 to .Net 3.0
    By George2 in forum C# Programming
    Replies: 3
    Last Post: 07-25-2007, 04:07 AM
  2. Some .NET Distribution Stats
    By nickname_changed in forum C# Programming
    Replies: 2
    Last Post: 05-14-2005, 03:41 AM
  3. IE 6 status bar
    By DavidP in forum Tech Board
    Replies: 15
    Last Post: 10-23-2002, 05:31 PM
  4. .net
    By ygfperson in forum A Brief History of Cprogramming.com
    Replies: 18
    Last Post: 02-15-2002, 01:15 AM
  5. Visual J#
    By mfc2themax in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 10-08-2001, 02:41 PM