CHAPTER 18

image

Native C++

Wise men learn by other men’s mistakes, fools by their own.

—H. G. Wells

In this chapter, we’ll take a survey of some of the characteristics of native C++ programming. We will look at common library functions, template libraries, and C++ features that do not work on managed types.

The iostream Library

In native C++ programming, one of the most popular libraries for file input and output is the iostream library. It is part of the C++ Standard. In it, the << and >>operators are overloaded within the include file iostream to provide easy output to the console. They are used with the types cout for output and cin for input ...

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.