skip to content
C++ without fear : a beginner's guide that makes you feel smart Preview this item
ClosePreview this item
Checking...

C++ without fear : a beginner's guide that makes you feel smart

Author: Brian Overland
Publisher: Upper Saddle River, NJ : Prentice Hall, ©2011.
Edition/Format:   eBook : Document : English : 2nd edView all editions and formats
Rating:

(not yet rated) 0 with reviews - Be the first.

Subjects
More like this

 

Find a copy online

Find a copy in the library

&AllPage.SpinnerRetrieving; Finding libraries that hold this item...

Details

Genre/Form: Electronic books
Additional Physical Format: Print version:
Overland, Brian R.
C++ without fear.
Upper Saddle River, NJ : Prentice Hall, ©2011
(DLC) 2011004218
(OCoLC)682896799
Material Type: Document, Internet resource
Document Type: Internet Resource, Computer File
All Authors / Contributors: Brian Overland
ISBN: 0132762749 9780132762748 0132673266 9780132673266
OCLC Number: 745063155
Description: 1 online resource (xxxi, 581 pages) : illustrations
Contents: Preface xxiii Acknowledgments xxixAbout the Author xxxi Chapter 1: Your First C++ Programs 1Thinking Like a Programmer 1What's Different About C++? 7Building a C++ Program 8Installing Your Own C++ Compiler 10Advancing to the Next Print Line 16Storing Data: C++ Variables 19Introduction to Data Types 20A Word about Variable Names and Keywords 28Chapter 1 Summary 30 Chapter 2: Decisions, Decisions 33But First, a Few Words about Data Types 33Decision Making in Programs 34Introducing Loops 43True and False in C++ 50The Increment Operator (++) 51Statements vs. Expressions 52Introducing Boolean (Short-Circuit) Logic 53Introducing the Math Library 57Chapter 2 Summary 64 Chapter 3: The Handy, All-Purpose "for" Statement 67Loops Used for Counting 67Introducing the "for" Loop 68A Wealth of Examples 70Compound Statements (Blocks) with "for" 74Declaring Loop Variables on the Fly 74Comparative Languages 101: The Basic "For" Statement 79Chapter 3 Summary 80 Chapter 4: Functions: Many Are Called 83The Concept of Function 83The Basics of Using Functions 85Local and Global Variables 93Recursive Functions 95Games and More Games 113Chapter 4 Summary 115 Chapter 5: Arrays: All in a Row... 117A First Look at C++ Arrays 117Initializing Arrays 119Zero-Based Indexing 119Strings and Arrays of Strings 128A Word to the Wise 1412-D Arrays: Into the Matrix 142Chapter 5 Summary 143 Chapter 6: Pointers: Getting a Handle on Data 145What the Heck Is a Pointer, Anyway? 145The Concept of Pointer 146Declaring and Using Pointers 148Swap: Another Function Using Pointers 155Pointer Arithmetic 161Pointers and Array Processing 163Chapter 6 Summary 168 Chapter 7: Strings: Analyzing the Text 169Text Storage on the Computer 169It Don't Mean a Thing If It Ain't Got That String 171String-Manipulation Functions 172Reading String Input 178Individual Characters vs. Strings 185The New C++ String Type 189Other Operations on the string Type 193Chapter 7 Summary 194 Chapter 8: Files: Electronic Storage 197Introducing File-Stream Objects 197How to Refer to Disk Files 199Text Files vs. "Binary" Files 206Introducing Binary Operations 208Chapter 8 Summary 217 Chapter 9: Some Advanced Programming Techniques 221Command-Line Arguments 221Function Overloading 227The do-while Loop 230The switch-case Statement 232Multiple Modules 234Exception Handling: I Take Exception to That! 237Chapter 9 Summary 240 Chapter 10: New Features of C++0x 243Overview of C++0x Features 243The long long Type (not long long long) 244Range-Based "for" (For Each) 256The auto and decltype Keywords 261The nullptr Keyword 262Strongly Typed Enumerations 263Raw String Literals 273Chapter 10 Summary 273 Chapter 11: Introducing Classes: The Fraction Class 277Object Orientation: Quasi-Intelligent Data Types 277Point: A Simple Class 279Private: Members Only (Protecting the Data) 281Introducing the Fraction Class 286Inline Functions 289Find the Greatest Common Factor 291Find the Lowest Common Denominator 292Chapter 11 Summary 305 Chapter 12: Constructors: If You Build It... 307Introducing Constructors 307Multiple Constructors (Overloading) 309C++0x Only: Initializing Members within a Class 309The Default Constructor-and a Warning 310C++0x Only: Delegating Constructors 313C++0x Only: Consistent Initialization 314Reference Variables and Arguments (&) 321The Copy Constructor 323A Constructor from String to Fract 329Chapter 12 Summary 331 Chapter 13: Operator Functions: Doing It with Class 333Introducing Class Operator Functions 333Operator Functions as Global Functions 336Improve Efficiency with References 338Working with Other Types 348The Class Assignment Function (=) 349The Test-for-Equality Function (==) 350A Class "Print" Function 351C++0x Only: User-Defined Literals 357Chapter 13 Summary 360 Chapter 14: Dynamic Memory and the String Class 363Dynamic Memory: The "new" Keyword 363Objects and "new" 365Allocating Multiple Data 366Introducing Class Destructors 370 "Deep" Copying and the Copy Constructor 376The "this" Keyword 378Revisiting the Assignment Operator 379Writing a Concatenation Function 380Chapter 14 Summary 387 Chapter 15: Two Complete OOP Examples 389Introducing Linked Lists 389Tower of Hanoi, Animated 402Chapter 15 Summary 411 Chapter 16: Easy Programming with STL 413Introducing the List Template 413Designing an RPN Calculator 422Correct Interpretation of Angle Brackets 432Chapter 16 Summary 432 Chapter 17: Inheritance: What a Legacy 435How to Subclass 435Problems with the FloatFraction Class 440C++ Only: Inheriting Base-Class Constructors 441Protected Members 445Object Containment 447Safe Inheritance Through Class Hierarchies 448Chapter 17 Summary 451 Chapter 18: Polymorphism: Object Independence 453A Different Approach to the FloatFraction Class 453Virtual Functions to the Rescue! 454C++ Only: Requiring Explicit Overrides 460"Pure Virtual" and Other Abstract Matters 461Abstract Classes and Interfaces 462Object Orientation and I/O 464A Final Word (or Two) 470A Final, Final Word 472Chapter 18 Summary 472 Appendix A: Operators 475The Scope (::) Operator 478The sizeof Operator 478Old and New Style Type Casts 479Integer vs. Floating-Point Division 480Bitwise Operators (&, |, ^, ~, <<, and >>) 480Conditional Operator 481Assignment Operators 482Join (,) Operator 482 Appendix B: Data Types 483Precision of Data Types 484Data Types of Numeric Literals 485String Literals and Escape Sequences 486Two's Complement Format for Signed Integers 487 Appendix C: Syntax Summary 491Basic Expression Syntax 491Basic Statement Syntax 492Control Structures and Branch Statements 493Variable Declarations 498Function Declarations 500Class Declarations 502Enum Declarations 503 Appendix D: Preprocessor Directives 505The #define Directive 505The ## Operator (Concatenation) 507The defined Function 507The #elif Directive 507The #endif Directive 508The #error Directive 508The #if Directive 508The #ifdef Directive 509The #ifndef Directive 510The #include Directive 510The #line Directive 511The #undef Directive 511Predefined Constants 511 Appendix E: ASCII Codes 513 Appendix F: Standard Library Functions 517String (C-String) Functions 517Data-Conversion Functions 517Single-Character Functions 517Math Functions 520Randomization Functions 521Time Functions 521Formats for the strftime Function 523 Appendix G: I/O Stream Objects and Classes 525Console Stream Objects 525I/O Stream Manipulators 526Input Stream Functions 528Output Stream Functions 528File I/O Functions 529 Appendix H: STL Classes and Objects 531The STL String Class 531The Template 533The Template 535 Appendix I: Glossary of Terms 537 Index 553
Other Titles: C plus plus without fear
Responsibility: Brian Overland.

Reviews

Editorial reviews

Publisher Synopsis

From reader Lara Vural: "Dear Mr. Overland, I am in love with your C++ Without Fear book. It keeps me awake for hours during the night, this is a really, really good job - especially for the Read more...

 
User-contributed reviews
Retrieving GoodReads reviews...
Retrieving DOGObooks reviews...

Tags

Be the first.

Similar Items

Related Subjects:(1)

Confirm this request

You may have already requested this item. Please select Ok if you would like to proceed with this request anyway.

Linked Data


Primary Entity

<http://www.worldcat.org/oclc/745063155> # C++ without fear : a beginner's guide that makes you feel smart
    a schema:Book, schema:MediaObject, schema:CreativeWork ;
   library:oclcnum "745063155" ;
   library:placeOfPublication <http://experiment.worldcat.org/entity/work/data/1004553#Place/upper_saddle_river_nj> ; # Upper Saddle River, NJ
   library:placeOfPublication <http://id.loc.gov/vocabulary/countries/nju> ;
   schema:about <http://id.worldcat.org/fast/843286> ; # C++ (Computer program language)
   schema:about <http://dewey.info/class/005.133/e22/> ;
   schema:alternateName "C plus plus without fear" ;
   schema:bookEdition "2nd ed." ;
   schema:bookFormat schema:EBook ;
   schema:copyrightYear "2011" ;
   schema:creator <http://viaf.org/viaf/43534286> ; # Brian Overland
   schema:datePublished "2011" ;
   schema:exampleOfWork <http://worldcat.org/entity/work/id/1004553> ;
   schema:genre "Electronic books"@en ;
   schema:inLanguage "en" ;
   schema:isSimilarTo <http://www.worldcat.org/oclc/682896799> ;
   schema:name "C++ without fear : a beginner's guide that makes you feel smart"@en ;
   schema:productID "745063155" ;
   schema:publication <http://www.worldcat.org/title/-/oclc/745063155#PublicationEvent/upper_saddle_river_nj_prentice_hall_2011> ;
   schema:publisher <http://experiment.worldcat.org/entity/work/data/1004553#Agent/prentice_hall> ; # Prentice Hall
   schema:url <http://proquestcombo.safaribooksonline.com/9780132762748> ;
   schema:url <http://proquest.safaribooksonline.com/9780132762748> ;
   schema:url <http://proquest.tech.safaribooksonline.de/9780132762748> ;
   schema:workExample <http://worldcat.org/isbn/9780132673266> ;
   schema:workExample <http://worldcat.org/isbn/9780132762748> ;
   wdrs:describedby <http://www.worldcat.org/title/-/oclc/745063155> ;
    .


Related Entities

<http://experiment.worldcat.org/entity/work/data/1004553#Place/upper_saddle_river_nj> # Upper Saddle River, NJ
    a schema:Place ;
   schema:name "Upper Saddle River, NJ" ;
    .

<http://id.worldcat.org/fast/843286> # C++ (Computer program language)
    a schema:Intangible ;
   schema:name "C++ (Computer program language)"@en ;
    .

<http://viaf.org/viaf/43534286> # Brian Overland
    a schema:Person ;
   schema:birthDate "1958" ;
   schema:familyName "Overland" ;
   schema:givenName "Brian" ;
   schema:name "Brian Overland" ;
    .

<http://worldcat.org/isbn/9780132673266>
    a schema:ProductModel ;
   schema:isbn "0132673266" ;
   schema:isbn "9780132673266" ;
    .

<http://worldcat.org/isbn/9780132762748>
    a schema:ProductModel ;
   schema:isbn "0132762749" ;
   schema:isbn "9780132762748" ;
    .

<http://www.worldcat.org/oclc/682896799>
    a schema:CreativeWork ;
   rdfs:label "C++ without fear." ;
   schema:description "Print version:" ;
   schema:isSimilarTo <http://www.worldcat.org/oclc/745063155> ; # C++ without fear : a beginner's guide that makes you feel smart
    .


Content-negotiable representations

Close Window

Please sign in to WorldCat 

Don't have an account? You can easily create a free account.