Teach Yourself C++ in 21 Days

Overview

Learn object-oriented design, programming, and analysis; write fast, powerful programs, compile the source code, and create an executable file; understand the new ANSI standard and what it means to your programs; do sophisticated programming with functions, arrays, variables, and pointers; learn to expand your program's power with inheritance and polymorphism; master the features of C++ by learning from a programming expert; and works with all ANSI C++ compilers.

An ...

See more details below
Available through our Marketplace sellers.
Other sellers (Hardcover)
  • All (32) from $1.99   
  • New (3) from $23.99   
  • Used (29) from $1.99   
Close
Sort by
Page 1 of 1
Showing All
Note: Marketplace items are not eligible for any BN.com coupons and promotions
$23.99
Seller since 2008

Feedback rating:

(169)

Condition:

New — never opened or used in original packaging.

Like New — packaging may have been opened. A "Like New" item is suitable to give as a gift.

Very Good — may have minor signs of wear on packaging but item works perfectly and has no damage.

Good — item is in good condition but packaging may have signs of shelf wear/aging or torn packaging. All specific defects should be noted in the Comments section associated with each item.

Acceptable — item is in working order but may show signs of wear such as scratches or torn packaging. All specific defects should be noted in the Comments section associated with each item.

Used — An item that has been opened and may show signs of wear. All specific defects should be noted in the Comments section associated with each item.

Refurbished — A used item that has been renewed or updated and verified to be in proper working condition. Not necessarily completed by the original manufacturer.

New
0672310708 BRAND NEW NEVER USED IN STOCK 125,000+ HAPPY CUSTOMERS SHIP EVERY DAY WITH FREE TRACKING NUMBER

Ships from: fallbrook, CA

Usually ships in 1-2 business days

  • Standard, 48 States
  • Standard (AK, HI)
$45.00
Seller since 2014

Feedback rating:

(136)

Condition: New
Brand new.

Ships from: acton, MA

Usually ships in 1-2 business days

  • Standard, 48 States
  • Standard (AK, HI)
$45.00
Seller since 2014

Feedback rating:

(136)

Condition: New
Brand new.

Ships from: acton, MA

Usually ships in 1-2 business days

  • Standard, 48 States
  • Standard (AK, HI)
Page 1 of 1
Showing All
Close
Sort by
Sending request ...

Overview

Learn object-oriented design, programming, and analysis; write fast, powerful programs, compile the source code, and create an executable file; understand the new ANSI standard and what it means to your programs; do sophisticated programming with functions, arrays, variables, and pointers; learn to expand your program's power with inheritance and polymorphism; master the features of C++ by learning from a programming expert; and works with all ANSI C++ compilers.

An ideal way for C programmers to move to the world of Object-Oriented programming and C++. The proven techniques of the "Teach Yourself" series make this book the essential guide to learning C++ no matter what compiler is being used. The only way to learn to program is to write code. With this guide you'll be writing programs in just a matter of days.

Read More Show Less

Editorial Reviews

Booknews
This guide is designed to teach the basics of C++ programming language to beginners using the familiar one-a-day chapter format. The chapters carry the reader through the history of the program and its basic anatomy, and into variables and constants, expressions and statements, functions, object-oriented programming, looping, pointers, references, and advanced functions<-->including the default constructor and operator overloading, object-oriented analysis and design, inheritance, arrays and linked lists, polymorphism, streams, namespaces, templates, exceptions and error handling. Liberty has published numerous guides to C++. Annotation c. Book News, Inc., Portland, OR (booknews.com)
Read More Show Less

Product Details

  • ISBN-13: 9780672310706
  • Publisher: Sams
  • Publication date: 5/28/1997
  • Edition description: 2ND
  • Edition number: 2
  • Pages: 792
  • Product dimensions: 7.34 (w) x 9.07 (h) x 1.92 (d)

Meet the Author

Jesse Liberty is the author of a dozen books on C++, C# and object-oriented analysis and design. He is president of Liberty Associates, Inc. (http: / /www. LibertyAssociates. com), where he provides .net development, contract programming, mentoring, consulting, and training.

Jesse was a distinguished software engineer at AT&T, a software architect for Xerox and LinkNet (PBS), and vice president of Citibank's Development Division. He lives with his wife, Stacey, and his daughters, Robin and Rachel, in the suburbs of Cambridge, Massachusetts. He supports his books on his Web site at http://www.libertyassociates.com-click on Books and Resources.

Read More Show Less

Read an Excerpt

Chapter 1: Getting Started

Introduction

Welcome to Sams Teach Yourself C++ in 21 Days! Today you will get started on your way to becoming a proficient C++ programmer.

Today you will learn

  • Why C++ is the emerging standard in software development.
  • The steps to develop a C++ program.
  • How to enter, compile, and link your first working C++ program.

A Brief History of C++

Computer languages have undergone dramatic evolution since the first electronic computers were built to assist in artillery trajectory calculations during World War II. Early on, programmers worked with the most primitive computer instructions: machine language. These instructions were represented by long strings of ones and zeros. Soon. assemblers were invented to nap machine instructions to human-readable and -manageable mnemonics, such as ADD and MOV.

In time, higher-level languages evolved, such as BASIC and COBOL. These languages let people work with something approximating words and sentences, such as Let I = 100. These instructions were translated back into machine language by interpreters and compilers.

An interpreter translates a program as it reads it, turning the program instructions, or code, directly into actions. A compiler translates the code into an intermediary form. This step is called compiling, and it produces an object file. The compiler then invokes a linker, which turns the object file into an executable program.

Because interpreters read the code as it is written and execute the code on the spot, interpreters are easy for the programmer to work with. Today, most interpreted programs are referred to as scripts, and the interpreter itself is often called a Script Engine.

Some languages, such as Visual Basic, call the interpreter the runtime library. .lava calls its runtime interpreter a Virtual Machine (VM), but in this case the VM is provided by the browser (such as Internet Explorer or Netscape).

Compilers introduce the extra steps of compiling the source code (which is readable by humans) into object code (which is readable by machines). This extra step is inconvenient, but compiled programs run very fast because the time-consuming task of translating the source code into machine language is done once (at compile time) and is not required when you execute the program. Another advantage of many compiled languages such as C++ is that you can distribute the executable program to people who don't have the compiler. With an interpreted ]an

For many years, the principal goal of computer programmers was to write short pieces of code that would execute quickly. The program needed to be small because memory was expensive, and it needed to be fast because processing power was also expensive. As computers have become smaller, cheaper, and faster, and as the cost of memory has fallen, these priorities have changed. Today the cost of a programmers time far outweighs the cost of most of the computers in use by businesses. Well-written, easy-to-maintain code is at a premium. Easy to maintain means that as business requirements change, the program can be extended and enhanced without great expense...

Read More Show Less

Table of Contents

Introduction 1
Week 1 At a Glance 3
Day 1 Getting Started 5
Day 2 The Anatomy of a C++ Program 23
Day 3 Variables and Constants 39
Day 4 Expressions and Statements 63
Day 5 Functions 93
Day 6 Object-Oriented Programming 131
Day 7 More Program Flow 167
Week 1 In Review 199
Week 2 At a Glance 207
Day 8 Pointers 209
Day 9 References 243
Day 10 Advanced Functions 277
Day 11 Object-Oriented Analysis and Design 317
Day 12 Inheritance 357
Day 13 Arrays and Linked Lists 391
Day 14 Polymorphism 435
Week 2 In Review 475
Week 3 At a Glance 487
Day 15 Special Classes and Functions 489
Day 16 Advanced Inheritance 519
Day 17 Streams 575
Day 18 Namespaces 617
Day 19 Templates 635
Day 20 Exceptions and Error Handling 685
Day 21 What's Next 717
Week 3 In Review 759
App. A Binary and Hexadecimal 773
App. B C++ Keywords 783
App. C Operator Precedence 785
App. D: Answers 787
Index 853
Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star

(0)

4 Star

(0)

3 Star

(0)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously
Sort by: Showing all of 4 Customer Reviews
  • Anonymous

    Posted January 25, 2001

    Bad Book!!

    I don't recommend this book unless u have previous programming knowledge.

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted April 23, 2000

    Started to read Sams Teach Yourself C in 21 days, and guess what happened

    I started to read two chapters of the Sams Teach Yourself C in 21 days. It was very fun. But I wanted to learn something new. So I decided to get the Sams Teach Yourself C++ in 21 days the complete compiler edition. The book is very helpful, and very good to understand. This is a good book to get.

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted April 2, 2000

    Excellent book

    This book was very helpful. Although they could have put the comments at the end of every line instead of in between the line. It took a while to understand what they were doing in the code.

    Was this review helpful? Yes  No   Report this review
  • Anonymous

    Posted January 16, 2000

    Quick, Informative, and Straight to the Point

    I purchased this book in the spring of 99' and within 15 minutes I was writing, compiling, and running my own programs. It teaches you everything that you want to know in a compressed time period, so within days you will feel more and more comfortable with C++ as you move along. If your new to C++ this book is a good start.

    Was this review helpful? Yes  No   Report this review
Sort by: Showing all of 4 Customer Reviews

If you find inappropriate content, please report it to Barnes & Noble
Why is this product inappropriate?
Comments (optional)