Sams Teach Yourself C++ in 24 Hours

( 1 )

Overview

Sams Teach Yourself C++ in 24 Hours, Third Edition extends to the beginning C++ programmer the promise of a solid and thorough tutorial broken down into consistent, manageable lessons of one hour each. The readers can master the core concepts and techniques of C++ programming at their own pace. The book covers all the basics, from introducing C++ syntax to developing C++ classes to introductory OOP concepts in a non-threatening, positive approach.
...
See more details below
Available through our Marketplace sellers.
Other sellers (Paperback)
  • All (31) from $1.99   
  • New (3) from $11.68   
  • Used (28) 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
$11.68
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
0672322242 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)
$50.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)
$50.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
Sams Teach Yourself C++ in 24 Hours

Available on NOOK devices and apps  
  • NOOK Devices
  • NOOK HD/HD+ Tablet
  • NOOK
  • NOOK Color
  • NOOK Tablet
  • Tablet/Phone
  • NOOK for Windows 8 Tablet
  • NOOK for iOS
  • NOOK for Android
  • NOOK Kids for iPad
  • PC/Mac
  • NOOK for Windows 8
  • NOOK for PC
  • NOOK for Mac
  • NOOK Study

Want a NOOK? Explore Now

NOOK Book (eBook)
$15.49
BN.com price
(Save 44%)$27.99 List Price
Sending request ...

Overview

Sams Teach Yourself C++ in 24 Hours, Third Edition extends to the beginning C++ programmer the promise of a solid and thorough tutorial broken down into consistent, manageable lessons of one hour each. The readers can master the core concepts and techniques of C++ programming at their own pace. The book covers all the basics, from introducing C++ syntax to developing C++ classes to introductory OOP concepts in a non-threatening, positive approach.
Read More Show Less

Product Details

  • ISBN-13: 9780672322242
  • Publisher: Pearson Education
  • Publication date: 8/28/2001
  • Series: Sams Teach Yourself Series
  • Edition description: Older Edition
  • Edition number: 3
  • Pages: 482
  • Product dimensions: 7.38 (w) x 9.10 (h) x 1.07 (d)

Meet the Author

Jesse Liberty is the president of Liberty Associates, Inc. (http://www.LibertyAssociates.com) where he provides training and custom programming. Jesse is the author of numerous books on C++, C#, Web development, and objectoriented analysis and design. He was a Distinguished Software Engineer for AT&T and Vice President of Citibank's Development Division.
Read More Show Less

Read an Excerpt

Hour 1: Getting Started

Welcome to Teach Yourself C++ in 24 Hours! In this very first hour you will learn:
  • How to set up and use the features of your compiler
  • The steps to develop a C++ program
  • How to enter, compile, and link your first working C++ program

Preparing to Program

C++, perhaps more than other languages, demands that the programmer design the program before writing it. Trivial problems, such as the ones discussed in the first few chapters of this book, don't require much design. Complex problems, however, such as the ones professional programmers are challenged with every day, do require design. The more thorough the design, the more likely it is that the program will solve the problems it is designed to solve, on time and on budget. A good design also makes for a program that is relatively bug free and easy to maintain. It has been estimated that fully 90 percent of the cost of software is the combined cost of debugging and maintenance. To the extent that good design can reduce those costs, it can have a significant impact on the bottom-line cost of the project.

The first question you need to ask when preparing to design any program is, "What is the problem I'm trying to solve?" Every program should have a clear, well-articulated goal; and you'll find that even the simplest programs in this book have one.

The second question every good programmer asks is, "Can this be accomplished without resorting to writing custom software?" Reusing an old program, using pen and paper, or buying software off the shelf are often better solutions to a problem than writing something new. The programmer who can offer these alternatives will never suffer from lack of work; finding less expensive solutions to today's problems will always generate new opportunities later.

Assuming you understand the problem and it requires writing a new program, you are ready to begin your design.

C++, ANSI C++, ISO C++, Windows, and Other Areas of Confusion

C++ is a language. DOS, Windows, UNIX, and MacOS are operating systems. When you learn C++, you'll want to learn it as a portable language without regard to which machine and operating system you'll run your programs on.

Teach Yourself C++ in 24 Hours makes no assumptions about your operating system. This book teaches ANSI/ISO C++. ANSI/ISO C++ is just another way of saying "standard" C++-the internationally agreedupon version that is portable to any platform and any development environment. The code presented throughout the book is standard ANSI/ISO and should run on almost any compiler. Therefore, you will see few references to windows, list boxes, graphics, and so forth. All that is operating system-dependent.

You'll see output accomplished through standard output. To make this work, you might need to tell your compiler to create a console application. This is the case with the Bloodshed Dev-C++ compiler. Some compilers, written to be used with Windows or the Mac or another windowing environment, call this a quick window, or a simple window, or perhaps a console window.

A compiler is the software you will be using throughout this book. It translates a program from humanreadable form into machine code, producing an object file that will later be linked and run. A linker is a program that builds an executable (runnable) file from the object code files produced by the compiler.

There are two compilers included on the CD-ROM with this book. The next section walks you through the set-up and installation process for the Dev-C++ Bloodshed compiler. It is designed to run in a windows-based operating environment and provides an integrated development environment (IDE) that permits you to edit, compile, debug, and more from a graphical interface. Eventually you might want to consider using another compiler that is not dependent on a Windows environment, but that is a matter of personal choice.

Installing and Setting Up the Compiler

To use the Dev-C++ Integrated Development Environment (IDE) supplied with this book, you need to use a Microsoft Windows operating system. If you are not going to be working in this environment, this section will not apply to you. You will need to find a compiler for your operating system. If you are working in Windows, then proceed with the installation of the Bloodshed C++ compiler, which is the graphical interface you will use for the remainder of the book. You might also see this graphical interface referred to as the Bloodshed Compiler, Bloodshed Dev-C++, Dev-C++, or Dev-C++ IDE. They are all the same.

Insert the CD and it should run automatically. If not, you can start it manually by running start.exe from the CD. Click Compiler Center, then click Launch Dev-C++ Installer. You will use the default settings, so click Yes, then Next, then you must wait until you get the Setup Complete window. When you see the Setup Complete window, click Finish. This brings you back to the original screen. Click Exit. You have now installed the Dev-C++ IDE, but need to configure it in order to make it easier to use. If you don't already have compression software installed on your computer, install the WinZip software from the CD-ROM. To start the installation process, you will follow similar steps to those outlined for the compiler installation.

Unzip the file from the CD, extracting it into the \Dev-C++ directory (or, if you did not use the default directory, the directory where you installed the compiler). Click Yes any time you get a Confirm File Overwrite window. This process will upgrade your Dev-C++ IDE from version 4.0 to version 4.01. After you complete the installation of the compiler and the upgrade, install the debugger. It is also located on the CD-ROM and can easily be installed by following the prompts. It is the Cygnus Insight debugger, version 5. The Dev-C++ compiler comes with a standard command line debugger. The Cygnus Insight debugger is graphical and easier to use....

Read More Show Less

Table of Contents

Introduction 1
Pt. I Introducing C++ 3
Hour 1 Getting Started 5
Hour 2 The Parts of a C++ Program 17
Hour 3 Variables and Constants 29
Hour 4 Expressions and Statements 43
Hour 5 Functions 63
Hour 6 Program Flow 85
Pt. II Classes 105
Hour 7 Basic Classes 107
Hour 8 More About Classes 121
Pt. III Memory Management 133
Hour 9 Pointers 135
Hour 10 Advanced Pointers 151
Hour 11 References 163
Hour 12 Advanced References and Pointers 179
Pt. IV Power Tools 193
Hour 13 Advanced Functions 195
Hour 14 Operator Overloading 207
Hour 15 Arrays 225
Pt. V Inheritance and Polymorphism 245
Hour 16 Inheritance 247
Hour 17 Polymorphism and Derived Classes 267
Hour 18 Advanced Polymorphism 281
Hour 19 Linked Lists 301
Pt. VI Special Topics 315
Hour 20 Special Classes, Functions, and Pointers 317
Hour 21 The Preprocessor 349
Hour 22 Object-Oriented Analysis and Design 375
Hour 23 Templates 405
Hour 24 Exceptions and Error Handling 423
Pt. VII Appendices 443
App. A Binary and Hexadecimal 445
App. B: Glossary 455
Index 463
Read More Show Less

Customer Reviews

Average Rating 5
( 1 )
Rating Distribution

5 Star

(1)

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

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