CHAPTER 2

image

There’s No Place Like Home

I have not ceased being fearful, but I have ceased to let fear control me. I have accepted fear as a part of life, specifically the fear of change, the fear of the unknown, and I have gone ahead despite the pounding in the heart that says: Turn back, turn back; you’ll die if you venture too far.

—Erica Jong

In this chapter, we introduce C++’s interoperability features and show you a quick way to combine C# and C++. We begin by developing a card-shuffling class in C#. Next we add a C++ stub that uses the C# class. In Chapter 4, we take it one step further and migrate the entire application to C++. We will ...

Get C++ 2013 for C# Developers,Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.