skip to content
C++ primer Preview this item
ClosePreview this item
Checking...

C++ primer

Author: Stanley B Lippman; Josée Lajoie
Publisher: Reading, Mass. : Addison-Wesley, ©1998.
Edition/Format:   eBook : Document : English : 3rd edView all editions and formats
Summary:

Completely rewritten, this tutorial is driven by examples which help the novice C++ programmer solve problems in terms of choice of language features, implementation, and efficiency.

Rating:

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

Subjects
More like this

 

Find a copy online

Links to this item

Find a copy in the library

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

Details

Genre/Form: Electronic books
Additional Physical Format: Print version:
(DLC) 98009464
(OCoLC)38257970
Material Type: Document, Internet resource
Document Type: Internet Resource, Computer File
All Authors / Contributors: Stanley B Lippman; Josée Lajoie
ISBN: 9780201824704 0201824701
OCLC Number: 54115689
Notes: Includes index.
Description: 1 online resource (xxii, 1237 pages)
Contents: Preface. Structure of This Book. Changes to the Third Edition. The Future of C++. Acknowledgments. Acknowledgments to the Second Edition. Bibliography. I. GETTING STARTED. 1. A Journey of 1000 Miles. Problem Solving.The C++ Program.Preprocessor Directives.A Word About Comments.A First Look at Input/Output.2. A Tour of C++. The Built-In Array Data Type.Dynamic Memory Allocation and Pointers.An Object-Based Design.An Object-Oriented Design.A Generic Design.An Exception-Based Design.An Array by Any Other Name.The Standard Array Is a Vector.II. THE BASIC LANGUAGE. 3. Data Types. Literal Constant.Variables.Pointer Types.String Types.const Qualifier.Reference Types.The bool Type.Enumeration Types.Array Types.The vector Container Type.complex Number Types.Typedef Names.volatile Qualifier.The pair Type.Class Types.4. Expression. What Is an Expression?Arithmetic Operators.Equality, Relational, and Logical Operators.Assignment Operators.Increment and Decrement Operators.Complex Number Operations.The Conditional Operator.The sizeof Operator.The new and delete Expressions.Comma Operator.The Bitwise Operators.bitset Operations.Precedence.Type Conversions.A Stack Class Example.5. Statements. Simple and Compound Statements.Declaration Statement.The if Statement.The switch Statement.The for Loop Statement.The while Statement.The do while Statement.The break Statement.The continue Statement.The goto Statement.A Linked List Example.6. Abstract Container Types. Our Text Query System.A vector or a list?How a vector Grows Itself.Defining a Sequence Container.Our Text Query System.A vector or a list?How a vector Grows Itself.Defining a Sequence Container.Iterators.Sequence Container Operations.Storing Lines of Text.Finding a Substring.Handling Punctuation.A String by Any Other Format.Additional String Operations.Building a Text Location Map.Building a Word Exclusion Set.The Complete Program.Multimap and Multiset.Stack.Queue and Priority Queue.Revisiting Our iStack Class Iterators.Sequence Container Operations.Storing Lines of Text.Finding a Substring.Handling Punctuation.A String by Any Other Format.Additional String Operations.Building a Text Location Map.Building a Word Exclusion Set.The Complete Program.Multimap and Multiset.Stack.Queue and Priority Queue.Revisiting Our iStack Class.III. PROCEDURAL BASED PROGRAMMING. 7. Functions. Overview.Function Prototype.Argument Passing.Returning a Value.Recursion.Inline Functions.Linkage Directives: extern "C".main(): Handling Command Line Options.Pointers to Functions.8. Scope and Lifetime. Scope.Global Objects and Functions.Local Objects.Dynamically Allocated Objects.Namespace Definitions.Using Namespace Members.9. Overloaded Functions. Overloaded Function Declarations.The Three Steps of Overload Resolution.Argument Type Conversions.Details of Function Overload Resolution.10. Function Templates. Function Template Definition.Function Template Instantiation.Template Argument Deduction.Explicit Template Arguments.Template Compilation Models.Template Explicit Specialization.Overloading Function Templates.Overload Resolution with Instantiations.Name Resolution in Template Definitions.Namespaces and Function Templates.Function Template Example.11. Exception handling. Throwing an Exception.The Try Block.Catching an Exception.Exception Specifications.Exceptions and Design Issues.12. Generic Algorithms. Overview.Using the Generic Algorithms.Function Objects.Revisiting Iterators.The Generic Algorithms.When Not to Use the Generic Algorithms.IV. OBJECT-BASED PROGRAMMING. 13. Classes. Class Definition.Class Objects.Class Member Functions.The Implicit this Pointer.Static Class Members.Pointer to Class Member.Union: A Space-Saving Class.Bit-field: A Space-Saving Member.Class Scope.Nested Classes.Classes as Namespace Members.Local Classes.14. Initialization, Assignment, and Destruction. Class Initialization.The Class Constructor.The Class Destructor.Class Object Arrays and Vectors.The Member Initialization List.Memberwise Initialization.Memberwise Assignment.Efficiency Considerations.15. Function And Operator Overloading. Operator Overloading.Friends.Operator =.Operator [ ].Operator ( ).Operator ->.Operators ++ and --.Operators new and delete.User-Defined Conversions.Selecting a Conversion.Overload Resolution and Member Functions.Overload Resolution and Operators.16. Class Templates. Class Template Definition.Class Template Instantiation.Member Functions of Class Templates.Friend Declarations in Class Templates.Static Data Members of Class Templates.Nested Types of Class Templates.Member Templates.Class Templates and Compilation Model.Class Template Specializations.Class Template Partial Specializations.Name Resolution in Class Templates.Namespaces and Class Templates.A Template Array Class.V. OBJECT-ORIENTED PROGRAMMING. 17. Class Inheritance and Subtyping. Defining a Class Hierarchy.Identifying the Members of the Hierarchy.Base Class Member Access.Base and Derived Class Construction.Base and Derived Class Virtual Functions.Memberwise Initialization and Assignment.A UserQuery Manager Class.Putting It Together.18. Multiple and Virtual Inheritance. Setting the Stage.Multiple Inheritance.Public, Private, and Protected Inheritance.Class Scope under Inheritance.Virtual Inheritance.A Multiple, Virtual Inheritance Example.19. Uses of Class Inheritance in C++. Run-Time Type Identification.Exceptions and Inheritance.Overload Resolution and Inheritance.20. The iostream Library. The Output Operator<<.Input.Additional Input/Output Operators.Overloading the Output Operator <<.Overloading the Input Operator >>.File Input and Output.Condition States.String Streams.Format State.A Strongly Typed Library.Appendix: The IOStream Library. accumulate().adjacent_difference().adjacent_find().binary_search().copy().copy_backward().count().count_if().equal().equal_range().fill().fill_n().find().find_if().find_end().find_first_of().for_each().generate().generate_n().includes().inner_product().inplace_merge().iter_swap ().lexicographical_compare().lower_bound().max().max_element().min().min_element().merge().mismatch().next_permutation().nth_element().partial_sort().partial_sort_copy().partial_sum().partition().prev_permutation().random_shuffle().remove().remove_copy().remove_if().remove_copy_if().replace().replace_copy().replace_if().replace_copy_if().reverse().reverse_copy().rotate().rotate_copy().search().search_n().set_difference().set_intersection().set_symmetric_difference().set_union().sort().stable_partition().stable_sort().swap().swap_range().transform().unique().unique_copy().upper_bound().Heap Algorithms.make_heap().pop_heap().push_heap().sort_heap().Index. 0201824701T04062001
Responsibility: Stanley B. Lippman, Josée Lajoie.

Reviews

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/54115689> # C++ primer
    a schema:CreativeWork, schema:Book, schema:MediaObject ;
   library:oclcnum "54115689" ;
   library:placeOfPublication <http://experiment.worldcat.org/entity/work/data/600481#Place/reading_mass> ; # Reading, Mass.
   library:placeOfPublication <http://id.loc.gov/vocabulary/countries/mau> ;
   schema:about <http://id.worldcat.org/fast/843286> ; # C++ (Computer program language)
   schema:about <http://dewey.info/class/005.133/e21/> ;
   schema:bookEdition "3rd ed." ;
   schema:bookFormat schema:EBook ;
   schema:contributor <http://viaf.org/viaf/101664979> ; # Josée Lajoie
   schema:copyrightYear "1998" ;
   schema:creator <http://viaf.org/viaf/41897375> ; # Stanley B. Lippman
   schema:datePublished "1998" ;
   schema:exampleOfWork <http://worldcat.org/entity/work/id/600481> ;
   schema:genre "Electronic books"@en ;
   schema:inLanguage "en" ;
   schema:isSimilarTo <http://www.worldcat.org/oclc/38257970> ;
   schema:name "C++ primer"@en ;
   schema:productID "54115689" ;
   schema:publication <http://www.worldcat.org/title/-/oclc/54115689#PublicationEvent/reading_mass_addison_wesley_1998> ;
   schema:publisher <http://experiment.worldcat.org/entity/work/data/600481#Agent/addison_wesley> ; # Addison-Wesley
   schema:url <http://proquest.safaribooksonline.com/0201824701> ;
   schema:workExample <http://worldcat.org/isbn/9780201824704> ;
   wdrs:describedby <http://www.worldcat.org/title/-/oclc/54115689> ;
    .


Related Entities

<http://experiment.worldcat.org/entity/work/data/600481#Agent/addison_wesley> # Addison-Wesley
    a bgn:Agent ;
   schema:name "Addison-Wesley" ;
    .

<http://experiment.worldcat.org/entity/work/data/600481#Place/reading_mass> # Reading, Mass.
    a schema:Place ;
   schema:name "Reading, Mass." ;
    .

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

<http://viaf.org/viaf/101664979> # Josée Lajoie
    a schema:Person ;
   schema:familyName "Lajoie" ;
   schema:givenName "Josée" ;
   schema:name "Josée Lajoie" ;
    .

<http://viaf.org/viaf/41897375> # Stanley B. Lippman
    a schema:Person ;
   schema:familyName "Lippman" ;
   schema:givenName "Stanley B." ;
   schema:name "Stanley B. Lippman" ;
    .

<http://worldcat.org/isbn/9780201824704>
    a schema:ProductModel ;
   schema:isbn "0201824701" ;
   schema:isbn "9780201824704" ;
    .


Content-negotiable representations

Close Window

Please sign in to WorldCat 

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