C++ Demystified (Demystified Series)

( 1 )

Overview

The fast and easy way to understanding the fundamentals of C++

If you’re looking for an easy way to learn C++ and want to immediately start writing your own programs, this is the resource you need. The hands-on approach and step-by-step instructions guide you through each phase of C++ programming with easy-to-understand language from start to finish. Whether or not you have previous C++ experience, you’ll get an excellent foundation here, discovering how computer programs and ...

See more details below
Paperback
$17.55
BN.com price
(Save 26%)$24.00 List Price

Pick Up In Store

Reserve and pick up in 60 minutes at your local store

Other sellers (Paperback)
  • All (16) from $1.99   
  • New (8) from $12.89   
  • Used (8) from $1.99   
Sending request ...

Overview

The fast and easy way to understanding the fundamentals of C++

If you’re looking for an easy way to learn C++ and want to immediately start writing your own programs, this is the resource you need. The hands-on approach and step-by-step instructions guide you through each phase of C++ programming with easy-to-understand language from start to finish. Whether or not you have previous C++ experience, you’ll get an excellent foundation here, discovering how computer programs and programming languages work. Next, you’ll learn the basics of the language—what data types, variables, and operators are and what they do, then on to functions, arrays, loops, and beyond. With no unnecessary, time-consuming material included, plus quizzes at the end of each chapter and a final exam, you’ll emerge a C++ pro, completing and running your very own complex programs in no time. Simple enough for a beginner, but challenging enough for an advanced student, C++ Demystified is your shortcut to mastering C++.

This one-of-a-kind self-teaching text offers:

  • An easy way to understand C++
  • A quiz at the end of each chapter
  • A final exam at the end of the book
  • No unnecessary technical jargon
  • A time-saving approach
Read More Show Less

Product Details

  • ISBN-13: 9780072253702
  • Publisher: McGraw-Hill Professional Publishing
  • Publication date: 4/26/2004
  • Series: Demystified Series
  • Edition number: 1
  • Pages: 368
  • Sales rank: 937,888
  • Product dimensions: 7.50 (w) x 9.20 (h) x 0.80 (d)

Meet the Author

Jeff Kent (Los Angeles) is a college instructor specializing in programming languages including Visual Basic, C++, and Java.

Read More Show Less

Table of Contents

Acknowledgments & introduction
Ch. 1 How a C++ program works 1
Ch. 2 Memory and data types 21
Ch. 3 Variables 45
Ch. 4 Arithmetic operators 65
Ch. 5 Making decisions : if and switch statements 83
Ch. 6 Nested if statements and logical operators 109
Ch. 7 The For loop 125
Ch. 8 While and Do While loops 143
Ch. 9 Functions 161
Ch. 10 Arrays 187
Ch. 11 What's the address? : pointers 213
Ch. 12 Character, C-string, and C++ string class functions 243
Ch. 13 Persistent data : file input and output 269
Ch. 14 The road ahead : structures and classes 293
Final exam 317
Answers to quizzes and final exam 323
Index 339
Read More Show Less

Customer Reviews

Average Rating 1
( 1 )
Rating Distribution

5 Star

(0)

4 Star

(0)

3 Star

(0)

2 Star

(0)

1 Star

(1)

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 1 Customer Reviews
  • Anonymous

    Posted September 17, 2009

    The back is false advertisement.

    "no unnecessary, time-consuming material included"
    The author will literally spend paragraphs telling you that he's going to tell you something later but that he isn't going to where he's not going to. There appears to be copy-and-pasting of entire parts of the book into others, and some of the code is makes absolutely no sense, whether the compiler complains or not. Note that the following excerpts are verbatim, without error on my part.

    Excerpt:
    --------------------------------------
    #include <iostream>
    using namespace std;
    int main ()
    {
    char name[ 80] = {'J', 'e', 'f', 'f', '/0' };
    cout << "Enter your name: ";
    cin >> name;
    cout << "Your name is " << name;
    return 0;
    }

    Some sample input and output could be

    Enter your name: Jeff
    Your name is Jeff
    --------------------------------------

    Two issues with this - the "/0" should use a backslash (e.g. "\0") to do what it's supposed to and to not get a compiler warning, and initializing name with "Jeff" in it then adding to it the exact same text is grossly useless. The reader should write and run and play with the code anyway, but why in the world did he include that sample input and output? It doesn't make any sense!

    In the following excerpt, he explains that using cin and streams, you cannot get a string that has a space in it, but the following code is supposed to do it:
    --------------------------------------
    #include <iostream>
    using namespace std;
    int main ()
    {
    char name[80] = {'J', 'e', 'f', 'f', '/0' };
    cout << "Enter your name: ";
    cin.getline(name, 80);
    cout << "Your name is " << name;
    return 0;
    }

    Now, as shown by the following sample input and output, you can input a string such as "Jeff Kent" that includes an embedded space:

    Enter your name: Jeff Kent
    Your name is Jeff
    --------------------------------------

    This has the similar error of the "/0" however the output shown is not what you really get, nor is it what he says you should get! The section is about it being able to say "Your name is Jeff Kent" but that's not what his sample output says! That is what it spat out for me, but this book is awful.

    I would not recommend this book to anyone.

    Was this review helpful? Yes  No   Report this review
Sort by: Showing 1 Customer Reviews

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