ENGLISH

Big C++

Book information

Publisher
Wiley
Year
2008
ISBN
0470383283, 9780470383285
Language
english
Format
PDF
Filesize
16 MB (17282009 bytes)
Edition
2
Pages
1056\1090
Time added
2021-11-08 14:20:19

Description

Serving as an ideal introduction to C++ programming, this updated edition balances ease of learning the latest thinking on cognitive processes, current theoretical approaches, and innovative research techniques Shares additional guidance in the form of how-tos and walkthroughs throughout the chapters Copyright Preface Contents Chapter 1: Introduction What Is a Computer? What Is Programming? The Anatomy of a Computer Translating Human-Readable Programs to Machine Code Programming Languages The Evolution of C++ Becoming Familiar with Your Computer Compiling a Simple Program Errors The Compilation Process Algorithms Chapter 2: Numbers and Objects Number Types Input Assignment Constants Arithmetic Strings Using Objects Displaying Graphical Shapes (Optional) Chapter 3: Control Flow The if Statement Relational Operators Multiple Alternatives Nested Branches Boolean Operations The while Loop The for Loop The do Loop Nested Loops Processing Inputs Simulations Chapter 4: Functions Functions as Black Boxes Implementing Functions Function Comments Return Values Parameters Side Effects Procedures Reference Parameters Variable Scope and Global Variables Stepwise Refinement Case Study: From Pseudocode to Code Walkthroughs Preconditions Unit Testing The Debugger Chapter 5: Classes Discovering Classes Interfaces Encapsulation Member Functions Default Constructors Constructors with Parameters Accessing Data Fields Comparing Member Functions with Nonmember Functions Separate Compilation Chapter 6: Vectors and Arrays Using Vectors to Collect Data Items Working with Vectors Vector Parameters and Return Values Removing and Inserting Vector Elements Arrays Chapter 7: Pointers Pointers and Memory Allocation Deallocating Dynamic Memory Common Uses for Pointers Arrays and Pointers Pointers to Character Strings Pointers to Functions Chapter 8: Inheritance Derived Classes Calling the Base-Class Constructor Overriding Member Functions Polymorphism Chapter 9: Streams Reading and Writing Text Files The Inheritance Hierarchy of Stream Classes Stream Manipulators String Streams Command Line Arguments Random Access Chapter 10: Recursion Triangle Numbers Permutations Thinking Recursively Recursive Helper Functions Mutual Recursion The Efficiency of Recursion Chapter 11: Sorting and Searching Selection Sort Profiling the Selection Sort Algorithm Analyzing the Performance of the Selection Sort Algorithm Merge Sort Analyzing the Merge Sort Algorithm Searching Library Functions for Sorting and Binary Search Chapter 12: Lists, Queues, and Stacks Linked Lists Implementing Linked LIsts The Efficiency of List and Vector Operations Queues and Stacks Chapter 13: Sets, Maps, and Priority Queues Sets Binary Search Trees Tree Traversal Maps Priority Queues Heaps Chapter 14: Operator Overloading Operator Overloading Case Study: Fractional Numbers Overloading Simple Arithmetic Operators Overloading Comparison Operators Overloading Input and Output Overloading Increment and Decrement Operators Overloading the Assignment Operators Overloading Conversion Operators Overloading the Subscript Operator Overloading the Function Call Operator Case Study: Matrices Chapter 15: Memory Management Categories of Memory Common Memory Errors Constructors Destructors Reference Counting Case Study: Matrices, Continued Chapter 16: Templates Template Functions Compile-Time Polymorphism Template Classes Turning a Class into a Template Nontype Template Parameters Setting Behavior Using Template Parameters Case Study: Matrices, Continued Chapter 17: Exception Handling Handling Exceptional Situations Alternative Mechanisms for Handling Exceptions Exceptions Case Study: Matrices, Continued Chapter 18: Name Scope Management Encapsulation Name Scopes Protected Scope Friends Nested Classes Private Inheritance Name Spaces Case Study: Matrices, Continued Chapter 19: Class Hierarchies Class Inheritance Hierarchies Abstract Classes Obtaining Run-Time Type Information Multiple Inheritance Software Frameworks Chapter 20: The Standard Template Library The STL Iterators The Fundamental Containers Container Adapters Associative Containers Case Study: Dijkstra’s Shortest Algorithm Functions, Generators, and Predicates Generic Algorithms Iterator Adapters Case Study: File Merge Sort Chapter 21: Features of the C++0x Standard C++0x Design Objectives Automatic Type Inference Range-based for Loop New Constructor Features Regular Expressions Lambda Functions Controlling Default Implementations Hash Tables Concepts Other Minor Changes Chapter 22: Object-Oriented Design The Software Life Cycle CRC Cards Cohesion Coupling Relationships Between Classes Implementing Aggregations Case Study: Printing an Invoice Case Study: An Educational Game Chapter 23: The Unified Modeling Language The Unified Modeling Language Use Cases Sequence Diagrams State Diagrams Case Study: A Voice Mail System Chapter 24: An Introduction to Design Patterns Iterators The Pattern Concept The ADAPTER Pattern The TEMPLATE METHOD Pattern Function Objects and the STRATEGY Pattern The COMPOSITE Pattern Case Study: Putting Patterns to Work Appendix A: C++ Language Coding Guidelines Appendix B: Keyword Summary Appendix C: Operator Summary Appendix D: Character Codes Appendix E: C++ Library Summary Appendix F: Number Systems Appendix G: Bit and Shift Operations Appendix H: UML Summary Appendix I: A C++ / Java Comparison Glossary Index Illustration Credits

Similar books

Session C11: Ancient Cultural Landscapes in South Europe – their Ecological Setting and Evolution, Session C22: Gardeners from South America, Session S04: Agro-Pastoralism and Early Metallurgy Sessions, Session WS29: The Idea of Enclosure in Recent Iberian Prehistory, Session C88: Rhytmes et causalites des dynamiques de l'anthropisation en Europe entre 6500 ET 500 BC: Hypotheses socio-culturelles et/ou climatiques: Proceedings of the XV UISPP World Congress (Lisbon 4-9 September 2006) / Actes du XV Congrès Mondial (Lisbonne 4-9 Septembre 2006) Vol.36

Session C11: Ancient Cultural Landscapes in South Europe – their Ecological Setting and Evolution, Session C22: Gardeners from South America, Session S04: Agro-Pastoralism and Early Metallurgy Sessions, Session WS29: The Idea of Enclosure in Recent Iberian Prehistory, Session C88: Rhytmes et causalites des dynamiques de l'anthropisation en Europe entre 6500 ET 500 BC: Hypotheses socio-culturelles et/ou climatiques: Proceedings of the XV UISPP World Congress (Lisbon 4-9 September 2006) / Actes du XV Congrès Mondial (Lisbonne 4-9 Septembre 2006) Vol.36

2010 · PDF

THE BRITISH ARMY IN INDIA: ITS PRESERVATION BY AN APPROPRIATE CLOTHING, HOUSING, LOCATING, RECREATIVE EMPLOYMENT, AND HOPEFUL ENCOURAGEMENT OF THE TROOPS. with AN APPENDIX ON INDIA : THE CLIMATE OP ITS HILLS ; THE DEVELOPMENT OF ITS RESODRCBS, INDUSTRY, AND ARTS ; THE ADMINISTRATION OF JUSTICE ; THE BLACK ACT ; THE PROGRESS OF CHRISTIANITY ; THE TRAFFIC IN OPIUM ; THE VALUE OF INDIA ; PERMANENT CAUSES OF DISAFFECTION, AND OF THE RECENT REBELLION ; THE TRADITIONARY POLICY; MISGOVERNMENT BY NATIVE RULERS ; ANNEXATIONS OF THEIR TERRITORY, ETC.

THE BRITISH ARMY IN INDIA: ITS PRESERVATION BY AN APPROPRIATE CLOTHING, HOUSING, LOCATING, RECREATIVE EMPLOYMENT, AND HOPEFUL ENCOURAGEMENT OF THE TROOPS. with AN APPENDIX ON INDIA : THE CLIMATE OP ITS HILLS ; THE DEVELOPMENT OF ITS RESODRCBS, INDUSTRY, AND ARTS ; THE ADMINISTRATION OF JUSTICE ; THE BLACK ACT ; THE PROGRESS OF CHRISTIANITY ; THE TRAFFIC IN OPIUM ; THE VALUE OF INDIA ; PERMANENT CAUSES OF DISAFFECTION, AND OF THE RECENT REBELLION ; THE TRADITIONARY POLICY; MISGOVERNMENT BY NATIVE RULERS ; ANNEXATIONS OF THEIR TERRITORY, ETC.

1858 · PDF

Idries Shah 27 Books Collection : A Perfumed Scorpion, A Veiled Gazelle, Caravan of Dreams, Darkest England, Destination Mecca, Evenings with Idries Shah, Knowing How to Know, Learning How to Learn, Letters and Lectures of Idries Shah, Neglected aspects of Sufi study, Observations, Oriental Magic, Reflections, Seeker after Truth, Special Illumination, Special Problems in the study of Sufi ideas, Sufi thought and action, Tales of the Dervishes, The Dermis Probe, The Elephant in the Dark, The Englishman Handbook, Idries Shah Antology, The Magic Monastery, The natives are restless, wisdom of the Idiots PDF.

Idries Shah 27 Books Collection : A Perfumed Scorpion, A Veiled Gazelle, Caravan of Dreams, Darkest England, Destination Mecca, Evenings with Idries Shah, Knowing How to Know, Learning How to Learn, Letters and Lectures of Idries Shah, Neglected aspects of Sufi study, Observations, Oriental Magic, Reflections, Seeker after Truth, Special Illumination, Special Problems in the study of Sufi ideas, Sufi thought and action, Tales of the Dervishes, The Dermis Probe, The Elephant in the Dark, The Englishman Handbook, Idries Shah Antology, The Magic Monastery, The natives are restless, wisdom of the Idiots PDF.

2022 · PDF

The travels of Capts. Lewis and Clarke from St. Louis, by way of the Missouri and Columbia rivers, to the Pacific ocean; performed in the years 1804, 1805 & 1806, by order of the government of the United States. Containing delineations of the manners, customs, religion, &c. of the Indians, comp. from various authentic sources, and original documents, and a summary of the Statistical view of the Indian nations, from the official communication of Meriwether Lewis. Illustrated with a map of the country, inhabited by the western tribes of Indians

The travels of Capts. Lewis and Clarke from St. Louis, by way of the Missouri and Columbia rivers, to the Pacific ocean; performed in the years 1804, 1805 & 1806, by order of the government of the United States. Containing delineations of the manners, customs, religion, &c. of the Indians, comp. from various authentic sources, and original documents, and a summary of the Statistical view of the Indian nations, from the official communication of Meriwether Lewis. Illustrated with a map of the country, inhabited by the western tribes of Indians

1809 · PDF

Professional Linux kernel architecture ''Wrox programmer to programmer''--Cover. - ''What you are reading right now is the result of an evolution over more than seven years: After two years of writing, the first edition was published in German by Carl Hanser Verlag in 2003. It then described kernel 2.6.0. The test was used as a basis for the low-level design documentation for the EAL4+ security evaluation of Red Hat Enterprise Linux 5, requiring to update it to kernel 2.6.18 (if the EAL acronym does not mean anything to you, then Wikipedia is once more your friend). Hewlett-Packard sponsored the translation into English and has, thankfully, granted the rights to publish the result. Updates to kernel 2.6.24 were then performed specifically for this book''--P. ix

Professional Linux kernel architecture ''Wrox programmer to programmer''--Cover. - ''What you are reading right now is the result of an evolution over more than seven years: After two years of writing, the first edition was published in German by Carl Hanser Verlag in 2003. It then described kernel 2.6.0. The test was used as a basis for the low-level design documentation for the EAL4+ security evaluation of Red Hat Enterprise Linux 5, requiring to update it to kernel 2.6.18 (if the EAL acronym does not mean anything to you, then Wikipedia is once more your friend). Hewlett-Packard sponsored the translation into English and has, thankfully, granted the rights to publish the result. Updates to kernel 2.6.24 were then performed specifically for this book''--P. ix

2008 · PDF