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 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.