1. Trang chủ
  2. » Công Nghệ Thông Tin

Brian overland c++ without fear

620 1.3K 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Đây là quyển sách tiếng anh về lĩnh vực công nghệ thông tin cho sinh viên và những ai có đam mê. Quyển sách này trình về lý thuyết ,phương pháp lập trình cho ngôn ngữ C và C++.

[...]... place where a keyword of the language is introduced and its usage clearly defined C++0 x ᮣ This icon is used to indicate sections that apply only to versions of C++ compliant with the new C++0 x specification Depending on the version of C++ you have, either these sections will apply to you or they won’t If your version is not C++0 x-compliant, you’ll generally want to skip these sections What Is Not Covered?... member of the Visual C++ 1.0 team Since then, he has been involved with the formation of new start-up companies (sometimes as CEO) He is currently working on a novel xxxi This page intentionally left blank 1 Your First C++ Programs There’s nothing to fear about C++ programming—really! Like all programming languages, it’s just a way to give logically precise directions to a computer C++ can get as complicated... 304 305 305 Constructors: If You Build It… 307 Introducing Constructors Multiple Constructors (Overloading) C++0 x Only: Initializing Members within a Class The Default Constructor—and a Warning Interlude Is C++ Out to Trick You with the Default Constructor? C++0 x Only: Delegating Constructors C++0 x Only: Consistent Initialization Example 12.1 Point Class Constructors How It Works Exercises Example 12.2... want to go through the first two or three chapters quickly If you already know a lot about C or C++ and are mainly interested in the new features of C++0 x, you may want to go straight to Chapter 10, “New Features of C++0 x.” And if you know C and are now starting to learn about object orientation with the C++ language, you may want to start with Chapter 11, “Introducing Classes: The Fraction Class.”... all the full program examples in the book, as well as answers to exercises A Final Note: Have Fun! Once again, there is nothing to fear about C++ Yes, there are those nasty potholes I started out discussing, but remember, I’m going to steer you around them Admittedly, C++ is not a language for the weak of heart; it assumes you know exactly what you’re doing But it doesn’t have to be intimidating I... programmers John R Bennett and Matt Greig, who provided superb insights about the latest directions of C++ Some of the more interesting new sections in the book came about directly as a result of extended conversations with these experts xxix This page intentionally left blank About the Author Brian Overland published his first article in a professional math journal at age 14 After graduating from Yale,... generous use of conceptual art The second edition builds on these strengths in many ways: ◗ Coverage of new features in C++0 x: This is the new specification for C++ that will be standard by the time you have this book in your hands Compiler vendors either have brought their versions of C++ up to this standard or are in the process of doing so This book covers well over a dozen new features from this specification... over and over And though programs take time to write, they usually execute at lightning speed Write the Equivalent C++ Statements After you’ve determined precisely what you want your program to do, step-bystep, you need to write down the equivalent C++ statements A statement is roughly the C++ equivalent of a sentence in English For example, say you want your program to do the following: 1 Print the “The... You’d translate these steps into the following C++ statements: cout

Ngày đăng: 19/03/2014, 14:06

Xem thêm: Brian overland c++ without fear

TỪ KHÓA LIÊN QUAN

Mục lục

    About This Book: How It’s Different

    Onward to the Second Edition

    “Where Do I Begin?”

    Icons, Icons, Who’s Got the Icons?

    What Is Not Covered?

    Getting Started with C++: A Free Compiler

    A Final Note: Have Fun!

    Chapter 1 Your First C++ Programs

    Thinking Like a Programmer

    Computers Do Only What You Tell Them

TÀI LIỆU CÙNG NGƯỜI DÙNG

TÀI LIỆU LIÊN QUAN