New PDF release: C++/CLI: The Visual C++ Language for .NET

By Gordon Hogenson (auth.)

ISBN-10: 1430202823

ISBN-13: 9781430202820

ISBN-10: 1590597052

ISBN-13: 9781590597057

C++/CLI: The visible C++ Language for .NET introduces Microsoft's extensions to the C++ syntax that let you goal the typical language runtime the most important to the center of the .NET 3.0 platform. In 12 no-fluff chapters, Microsoft insider Gordon Hogenson takes you into the middle of the C++/CLI language and explains either how the language parts paintings and the way Microsoft intends them for use. Compilable code samples illustrate the syntax as easily as attainable, and extra complex code samples exhibit how the hot syntax may well as a rule be used.

The booklet is a beginner's advisor, however it assumes a familiarity with programming fundamentals. And it concentrates on explaining the features of C++/CLI that make it the main strong and enjoyable language at the .NET Framework 3.0. As such, this booklet is perfect in case you are deliberating migrating to C++/CLI from one other language. through the tip of this ebook, you will have a radical grounding within the center language components including the arrogance to discover additional that comes from a great realizing of a languages syntax and grammar.

Show description

Read or Download C++/CLI: The Visual C++ Language for .NET PDF

Similar visual basic books

Visual Basic 2008 Recipes A Problem Solution Approach by Rakesh Rajan, Todd Herman, Allen Jones, Matthew MacDonald PDF

Occasionally you simply have to clear up an issue and get on along with your paintings. for that reason, visible easy 2008 Recipes is a compendium of sensible strategies for busy VB . web programmers. Create time for the extra attention-grabbing features of your VB . web venture through fixing universal issues of the sensible recommendations and dozens of code examples during this ebook.

New PDF release: CodeNotes for .NET

CodeNotes offers the main succinct, exact, and quick manner for a developer to ramp up on a brand new expertise or language. not like different programming books, CodeNotes drills all the way down to the middle points of a know-how, targeting the main parts wanted so as to appreciate it speedy and enforce it instantly.

Read e-book online Visual Basic .NET Class Design Handbook: Coding Effective PDF

Because the declaration of visible easy . internet, much has been made up of its robust object-oriented positive aspects. despite the fact that, little or no dialogue has been dedicated to the perform of object-oriented programming at its so much primary level—that is, development periods. in actual fact, no matter what code you write in visible simple .

Additional info for C++/CLI: The Visual C++ Language for .NET

Example text

You may also have heard a lot of controversy about isotopes of uranium. CHAPTER 2 ■ A QUICK TOUR OF THE C++/CLI LANGUAGE FEATURES There’s a huge geopolitical difference between uranium-238, which is merely mildly radioactive, and uranium-235, which is the principal ingredient of a nuclear bomb. In this chapter, together we’ll create a program that simulates radioactive decay, with specific reference to carbon-14 decay used in carbon dating. We’ll start with a fairly crude example, but by the end of the chapter, we’ll make it better using C++/CLI constructs.

CHAPTER 2 ■ A QUICK TOUR OF THE C++/CLI LANGUAGE FEATURES Interface Classes Interfaces are not something that is available in classic C++, although something like an interface could be created by using an abstract base class in which all the methods are pure virtual (declared with = 0), which would mean that they had no implementation. Even so, such a class is not quite the same as an interface. An interface class has no fields and no method implementations; an abstract base class may have these.

The base class library defines a namespace called System, which contains fundamental types and other commonly used constructs. In fact, the CTS defines most primitive types in the System namespace with their own names, such as System::Int32. These names are common to all languages using the CLR. , int is synonymous with Int32), so that you have the convenience of referring to the type using the same name you’d use in C++. You can use two ways to refer to most primitive types. In Chapter 2, you’ll learn how the primitive types in C++ map onto the CLI common type system.

Download PDF sample

C++/CLI: The Visual C++ Language for .NET by Gordon Hogenson (auth.)


by Jason
4.3

Rated 4.37 of 5 – based on 3 votes