CHAPTER 5Fundamental Types: Strings,Arrays, and Enums

In this chapter, you'll learn about some special types in the C++/CLI type system. I have been using the term primitive type to refer to the built-in integral and floating-point types. This includes character types, which are also considered integral types. Other types, such as those discussed in this chapter, are built upon these primitive types and are fundamental to any program. Each of these types is a .NET version of a classic C++ concept, and each of these has special language support in addition to being a bona fide .NET Framework object type. The chapter will go into some detail not just on the syntax and mechanics of the types themselves, but also on some of the commonly used .NET ...

Get Foundations of C++/CLI: The Visual C++ Language for .NET 3.5 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.