O'Reilly logo

Foundations of C++/CLI: The Visual C++ Language for .NET 3.5 by Gordon Hogenson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 1Introducing C++/CLI

This chapter introduces the C++/CLI language extensions to C++ and shows you the classic "Hello, World" example in C++/CLI. You'll learn just enough about the runtime environment that executes your C++/CLI programs to get started with your first program. You'll also learn some of the features available in that environment, including access to the .NET Framework (or the CLI class libraries), the common type system, and other helpful features such as garbage collection.

Garbage Collection and Handles

One convenience of a managed language is garbage collection—that you no longer have to keep track of all the objects you create. Your C++/CLI objects will be collected and destroyed by a background process called the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required