[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-501607-105":3,"detail-sidebar-cat-0-en-105":81,"doc-detail-501607-en":130},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":74,"head_meta":76,"extra_data":78,"updated_unix":80},105,"en","teach-yourself-c-in-21-days-fifth-edition","Teach Yourself C++ in 21 Days - Fifth Edition","","A structured learning guide for mastering C++ over 21 days, presented in a week-by-week and day-by-day progression with clear milestones. The contents introduce programming fundamentals and progressively expand into functions, variables, program flow, and object-oriented programming concepts. Later sections cover pointers, references, advanced functions, inheritance, polymorphism, arrays and strings, streams, namespaces, and templates, with error handling and exceptions culminating in guidance on next steps. Appendixes support core references such as binary and hexadecimal number work, C++ keywords, operator precedence, answers, and linked lists.",{"@graph":14,"@context":73},[15,34,56],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/exam/","Exam",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/teach-yourself-c-in-21-days-fifth-edition/501607/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/teach-yourself-c-in-21-days-fifth-edition/501607.png","ImageObject",300,407,{"name":42,"@type":43},"Hazel","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-10-22","2026-10-03",true,{"@type":52,"interactionType":53,"userInteractionCount":55},"InteractionCounter",{"@type":54},"ViewAction",10,{"@type":57,"mainEntity":58},"FAQPage",[59,65,69],{"name":60,"@type":61,"acceptedAnswer":62},"What learning schedule does the book follow to teach C++?","Question",{"text":63,"@type":64},"The book uses a day-by-day plan across three weeks, including “At a Glance” previews and “In Review” checkpoints for each week.","Answer",{"name":66,"@type":61,"acceptedAnswer":67},"Which major topics are covered beyond the basics?",{"text":68,"@type":64},"It progresses from program structure and variables to functions and OOP, then covers pointers, references, inheritance, polymorphism, arrays and strings, streams, namespaces, and templates.",{"name":70,"@type":61,"acceptedAnswer":71},"Does the book include reference and support material in appendixes?",{"text":72,"@type":64},"Yes. The appendixes include binary and hexadecimal number basics, a list of C++ keywords, operator precedence, answers, and an overview of linked lists.","https://schema.org",{"og:url":32,"og:type":75,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":77,"canonical":32},"index,follow",{"doc_id":79,"site_id":7},501607,1791339641,{"code":4,"msg":82,"data":83},"success",[84,88,92,95,100,105,110,115,120,123,126],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":85,"show_sort_weight":86,"slug":87},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":89,"show_sort_weight":90,"slug":91},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":93,"slug":94},70,"exam",{"id":96,"doc_module":4,"doc_module_name":25,"category_name":97,"show_sort_weight":98,"slug":99},5,"Comic",60,"comic",{"id":101,"doc_module":4,"doc_module_name":25,"category_name":102,"show_sort_weight":103,"slug":104},6,"Technology",50,"technology",{"id":106,"doc_module":4,"doc_module_name":25,"category_name":107,"show_sort_weight":108,"slug":109},7,"Healthcare",40,"healthcare",{"id":111,"doc_module":4,"doc_module_name":25,"category_name":112,"show_sort_weight":113,"slug":114},8,"Research & Report",30,"research-report",{"id":116,"doc_module":4,"doc_module_name":25,"category_name":117,"show_sort_weight":118,"slug":119},9,"Religion & Spirituality",20,"religion-spirituality",{"id":118,"doc_module":4,"doc_module_name":25,"category_name":121,"show_sort_weight":118,"slug":122},"World Cup","world-cup",{"id":55,"doc_module":4,"doc_module_name":25,"category_name":124,"show_sort_weight":55,"slug":125},"Lifestyle","lifestyle",{"id":127,"doc_module":4,"doc_module_name":25,"category_name":128,"show_sort_weight":96,"slug":129},19,"General","general",{"code":4,"msg":82,"data":131},{"doc_id":79,"user_id":132,"nickname":42,"user_avatar":133,"doc_module":4,"category_id":33,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":55,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":139,"language":140,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":12,"update_tm":144,"read_time":145},137441390410,"https://ap-avatar.wpscdn.com/avatar/2000252f4ab5702993?_k=1776741390130283984","Jesse Liberty Bradley Jones  \nTeach Yourself  \nC++  \nin 21 Days  \nFIFTH EDITION  \n800 East 96th Street, Indianapolis, Indiana, 46240 USA  \nSams Teach Yourself C++ in 21 Days, Fifth Edition  \nCopyright © 2005 by Sams Publishing  \nAll rights reserved. No part of this book shall be reproduced, stored in a retrieval system, or transmitted by any means, electronic, mechanical, photocopying, recording, or otherwise, without written permission from the publisher. No patent liability is assumed with respect to the use of the information contained herein. Although every precaution has been taken in the preparation of this book, the publisher and author assume no responsibility for errors oromissions. Nor is any liability assumed for damages resulting from the use of the information contained herein.  \nInternational Standard Book Number: 0-672-32711-2  \nLibrary of Congress Catalog Card Number: 2004096713 Printed in the United States of America  \nFirst Printing: December 2004  \n07 06 05 04 4 3 2 1  \nTrademarks  \nAll terms mentioned in this book that are known to be trademarks or service marks have been appropriately capitalized. Sams Publishing cannot attest to the accuracy of this information. Use of a term in this book should not be regarded as affecting the validity of any trademark or service mark.  \nWarning and Disclaimer  \nEvery effort has been made to make this book as complete and as accurate as possible, but no warranty or fitness is implied. The information provided is on an “as is” basis. The authors and the publisher shall have neither liability nor responsibility to any person or entity with respect to any loss or damages arising from the information contained in this book.  \nBulk Sales  \nSams Publishing offers excellent discounts on this book when ordered in quantity for bulk purchases or special sales. For more information, please contact  \nU.S. Corporate and Government Sales  \n1-800-382-3419  \n[corpsales@pearsontechgroup.com](corpsales@pearsontechgroup.com)  \n[For sales outside of the U.S](For sales outside of the U.S)., [please](please) contact  \nInternational Sales  \n[international@pearsoned.com](international@pearsoned.com)  \nASSOCIATE PUBLISHER  \nMichael Stephens  \nACQUISITIONS EDITOR  \nLoretta Yates  \nDEVELOPMENT EDITOR  \nSonglin Qiu  \nMANAGING EDITOR  \nCharlotte Clapp  \nPROJECT EDITOR  \nSeth Kerney  \nCOPY EDITOR  \nKaren Annett  \nINDEXER  \nErika Millen  \nPROOFREADER  \nPaula Lowell  \nTECHNICAL EDITORS  \nMark Cashman  \nDavid V. Corbin  \nPUBLISHING COORDINATOR  \nCindy Teeters  \nMULTIMEDIA DEVELOPER  \nDan Scherf  \nBOOK DESIGNER  \nGary Adair  \nPAGE LAYOUT  \nEric S. Miller  \nJulie Parks  \nContents at a Glance  \nIntroduction 1  \nWeek 1 At a Glance 3  \nDay 1 Getting Started 5  \n2 The Anatomy of a C++ Program 25  \n3 Working with Variables and Constants 41  \n4 Creating Expressions and Statements 67  \n5 Organizing into Functions 99  \n6 Understanding Object-Oriented Programming 137  \n7 More on Program Flow 175  \nWeek 1 In Review 209  \nWeek 2 At a Glance 219  \nDay 8 Understanding Pointers 221  \n9 Exploiting References 255  \n10 Working with Advanced Functions 289  \n11 Object-Oriented Analysis and Design 329  \n12 Implementing Inheritance 371  \n13 Managing Arrays and Strings 407  \n14 Polymorphism 449  \nWeek 2 In Review 491  \nWeek 3 At a Glance 503  \nDay 15 Special Classes and Functions 505  \n16 Advanced Inheritance 537  \n17 Working with Streams 593  \n18 Creating and Using Namespaces 637  \n19 Templates 659  \n20 Handling Errors and Exceptions 715  \n21 What’s Next 751  \nWeek 3 In Review 791  \nAppendixes  \nAppendix A Working with Numbers: Binary and Hexadecimal 807  \nB C++ Keywords 817  \nC Operator Precedence 819  \nD Answers 821  \nE A Look at Linked Lists 875  \nIndex 887  \nContents  \nIntroduction 1  \nWho Should Read This Book .................................................................................. 1  \nConventions Used in This Book .............................................................................. 1  \nSample Code fo","cbCaiv0k0ryRH8LZ","https://ap.wps.com/l/cbCaiv0k0ryRH8LZ","pdf",6989997,937,"English","# Introduction\n## Who Should Read This Book\n## Conventions Used in This Book\n## Sample Code for This Book\n# Week 1 At a Glance\n## Day 1 Getting Started\n## The Anatomy of a C++ Program\n## Working with Variables and Constants\n## Creating Expressions and Statements\n## Organizing into Functions\n## Understanding Object-Oriented Programming\n## More on Program Flow\n# Week 2 At a Glance\n## Day 8 Understanding Pointers\n## Exploiting References\n## Working with Advanced Functions\n## Object-Oriented Analysis and Design\n## Implementing Inheritance\n## Managing Arrays and Strings\n## Polymorphism\n# Week 3 At a Glance\n## Day 15 Special Classes and Functions\n## Advanced Inheritance\n## Working with Streams\n## Creating and Using Namespaces\n## Templates\n## Handling Errors and Exceptions\n## What’s Next\n# Appendixes\n## Appendix A Working with Numbers: Binary and Hexadecimal\n## B C++ Keywords\n## C Operator Precedence\n## D Answers\n## E A Look at Linked Lists\n# Index","[{\"question\":\"What learning schedule does the book follow to teach C++?\",\"answer\":\"The book uses a day-by-day plan across three weeks, including “At a Glance” previews and “In Review” checkpoints for each week.\"},{\"question\":\"Which major topics are covered beyond the basics?\",\"answer\":\"It progresses from program structure and variables to functions and OOP, then covers pointers, references, inheritance, polymorphism, arrays and strings, streams, namespaces, and templates.\"},{\"question\":\"Does the book include reference and support material in appendixes?\",\"answer\":\"Yes. The appendixes include binary and hexadecimal number basics, a list of C++ keywords, operator precedence, answers, and an overview of linked lists.\"}]","Teach Yourself C++ in 21 Days - Fifth Edition | PDF",1791021431,2361]