C


C++

Since C++ already has object-oriented features, the VC++ implementation supplied with Visual Studio .NET provides support for managed code. At the minimum, you must include the following two lines at the top of your code:

  #using <mscorlib.dll>   using namespace System;  

These give you access to the .NET classes. You must also add the /CLR compiler option when building the executable.

Details of working with the managed extensions for C++ are outside the scope of this book, so you should consult the documentation for more details.




Professional ASP. NET 1.1
Professional ASP.NET MVC 1.0 (Wrox Programmer to Programmer)
ISBN: 0470384611
EAN: 2147483647
Year: 2006
Pages: 243

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net