C++ Programming in Easy Steps

Overview

C++ Programming in Easy Steps instructs you how to program in the powerful C++ language, giving complete examples that illustrate each aspect.

C++ Programming in Easy Steps begins by explaining how to download and install a free C++ compiler so you can quickly begin to create your own executable programs by copying the book's examples. It demonstrates all the C++ language basics before moving on to provide examples of Object Oriented Programming. The book concludes by ...

See more details below
Paperback (Fourth Edition)
$11.57
BN.com price
(Save 22%)$14.99 List Price

Pick Up In Store

Reserve and pick up in 60 minutes at your local store

Other sellers (Paperback)
  • All (20) from $7.23   
  • New (13) from $7.77   
  • Used (7) from $7.23   
Sending request ...

Overview

C++ Programming in Easy Steps instructs you how to program in the powerful C++ language, giving complete examples that illustrate each aspect.

C++ Programming in Easy Steps begins by explaining how to download and install a free C++ compiler so you can quickly begin to create your own executable programs by copying the book's examples. It demonstrates all the C++ language basics before moving on to provide examples of Object Oriented Programming. The book concludes by demonstrating how you can use your acquired knowledge to create programs graphically in the free Microsoft Visual C++ Express Integrated Development Environment (IDE).

C++ Programming in Easy Steps makes no assumption you have previous knowledge of any programming language so it's ideal for the newcomer to computer programming. It has an easy-to-follow style that will appeal to programmers moving from another programming language, and to the student who is studying C++ programming at school or college, and to those seeking a career in computing who need a fundamental understanding of object oriented programming.

Read More Show Less

Product Details

  • ISBN-13: 9781840784329
  • Publisher: In Easy Steps Limited
  • Publication date: 7/12/2011
  • Series: In Easy Steps
  • Edition description: Fourth Edition
  • Edition number: 4
  • Pages: 192
  • Sales rank: 418,021
  • Product dimensions: 8.28 (w) x 7.36 (h) x 0.42 (d)

Table of Contents


Getting started     7
Introduction     8
Installing a compiler     10
Writing a first C++ program     12
Compiling & running programs     14
Creating variables     16
Employing variable arrays     18
Employing vector arrays     20
Declaring constants     22
Summary     24
Performing operations     25
Doing arithmetic     26
Assigning values     28
Comparing values     30
Assessing logic     32
Examining conditions     34
Establishing size     36
Setting precedence     38
Casting data types     40
Summary     42
Making statements     43
Branching with if     44
Switching branches     46
Looping for     48
Looping while     50
Declaring functions     52
Passing function arguments     54
Overloading functions     56
Optimizing functions     58
Summary     60
Handling strings     61
Creating string variables     62
Getting string input     64
Solving the string problem     66
Discovering string features     68
Joining & comparing strings     70
Copying & swapping strings     72
Finding substrings     74
Replacing substrings     76
Summary     78
Reading and writing files     79
Writing a file     80
Appending to a file     82
Reading characters & lines     84
Formatting with getline     86
Manipulating input & output     88
Predicting problems     90
Recognizing exceptions     92
Handling errors     94
Summary     96
Pointing to data     97
Understanding data storage     98
Getting values with pointers     100
Doing pointer arithmetic     102
Passing pointers to functions     104
Making arrays of pointers     106
Referencing data     108
Passing references to functions     110
Comparing pointers & references     112
Summary     114
Creating classes and objects     115
Encapsulating data      116
Creating an object     118
Creating multiple objects     120
Initializing class members     122
Overloading methods     124
Inheriting class properties     126
Calling base constructors     128
Overriding base methods     130
Summary     132
Harnessing polymorphism     133
Pointing to classes     134
Calling a virtual method     136
Directing method calls     138
Providing capability classes     140
Making abstract data types     142
Building complex hierarchies     144
Isolating class structures     146
Employing isolated classes     148
Summary     150
Processing macros     151
Exploring compilation     152
Defining substitutes     154
Defining conditions     156
Providing alternatives     158
Guarding inclusions     160
Using macro functions     162
Building strings     164
Debugging assertions     166
Summary     168
Programming visually     169
Generating random numbers      170
Planning the program     172
Assigning static properties     174
Designing the interface     176
Initializing dynamic properties     178
Adding runtime functionality     180
Testing the program     182
Deploying the application     184
Summary     186
Index     187
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 1 Customer Reviews
  • Anonymous

    Posted March 13, 2012

    Highly Recommended For Newbies

    This is a great start for anyone interested in programming in C++. This is probably the most straight forward and simple book I've read on programming. The simple samples and illustrations make learning quick and clear. This book is not for intermediate or advanced programmers as it does not delve deep into advanced topics. Again, good for those new to C++ programming or new to programming in general.

    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)