Sams Teach Yourself C++ in 24 Hours
Home > Computing and Information Technology > Computer programming / software engineering > Programming and scripting languages: general > Sams Teach Yourself C++ in 24 Hours
Sams Teach Yourself C++ in 24 Hours

Sams Teach Yourself C++ in 24 Hours

|
     0     
5
4
3
2
1




Out of Stock


Notify me when this book is in stock
About the Book

Sams Teach Yourself C++ in 24 Hours, 2nd Edition is a hands-on guide to the C++ programming language. Readers are provided with numerous examples of syntax and detailed analysis of code, an excellent guide for beginning programmers. In just 24 hours, readers will learn about such fundamentals as managing I/O, loops and arrays, object-oriented programming, templates, and creating C++ applications- all in well-structured and easy-to-follow lessons. Lessons provide sample listings, complete with sample output and an analysis of the code, to illustrate the topics of the day. Sams Teach Yourself C++ in 24 Hours, 2nd Edition has been updated to the new ANSI/ISO C++ Standard and includes coverage of namespaces, the Standard Template Library and distributed computing. This edition is non-compiler specific and has received a double technical edit to ensure code integrity.

Table of Contents:
Introduction. Who Should Read This Book. Conventions. PART I - INTRODUCING C++. HOUR 1. Getting Started. Why C++ Is the Right Choice. Preparing to Program. C++, ANSI C++, Windows, and Other Areas of Confusion. Compiling and Linking the Source Code. The Development Cycle. HELLO.CPP--Your First C++ Program. Compile Errors. Summary. Q&A. Hour 2. The Parts of a C++ Program. The Parts of a Simple Program. Comments. Functions. Summary. Q & A. Hour 3. Variables and Constants. What Is a Variable? Defining a Variable. Creating More Than One Variable at a Time. Assigning Values to Your Variables. typedef. When to Use short and When to Use long. Wrapping Around in unsigned Integers. Enumerated Constants. Summary. Q&A. Hour 4. Expressions and Statements. Statements. Expressions. Operators. Combining the Assignment and Mathematical Operators. Increment and Decrement. Precedence. Nesting Parentheses. The Nature of Truth. Relational Operators. The if Statement. Use Braces in Nested if Statements. Logical Operators. Relational Precedence. More About Truth and Falsehood. Summary. Q&A. Hour 5. Functions. What Is a Function? Declaring and Defining Functions. Local Variables. Global Variables. Function Statements. Function Arguments. Parameters Are Local Variables. Return Values. Default Parameters. Overloading Functions. Summary. Q&A. PART II - CLASSES. Hour 6. Basic Classes. Creating New Types. Classes and Members. Accessing Class Members. Private Versus Public. Implementing Class Methods. Constructors and Destructors. Summary. Q&A. Hour 7. More about Classes. const Member Functions. Interface Versus Implementation. Where to Put Class Declarations and Method Definitions. Inline Implementation. Classes with Other Classes as Member Data. Summary. Q&A. Hour 8. Advanced Program Flow Looping. while Loops. do...while Loops. for Loops. switch Statements. Summary. Q&A. PART III - MEMORY MANAGEMENT. Hour 9. Pointers. What Is a Pointer? Why Would You Use Pointers? The Stack and the Free Store. Summary. Q&A. Hour 10. Advanced Pointers. Creating Objects on the Free Store. Deleting Objects. Accessing Data Members. Member Data on the Free Store. The this Pointer. Whats the this Pointer For? Stray or Dangling Pointers. const Pointers. Summary. Q&A. Hour 11. References. What Is a Reference? Creating a Reference. Using the Address of Operator on References. What Can Be Referenced? Null Pointers and Null References. Passing Function Arguments by Reference. Understanding Function Headers and Prototypes. Returning Multiple Values. Summary. Q&A. Hour 12. Advanced References and Pointers. Passing by Reference for Efficiency. References as an Alternative. When to Use References and When to Use Pointers. Dont Return a Reference to an Object that Isnt in Scope! Returning a Reference to an Object on the Heap. Pointer, Pointer, Who Has the Pointer? Summary. Q&A. PART IV - POWER TOOLS. Hour 13. Advanced Functions. Overloaded Member Functions. Using Default Values. Choosing Between Default Values and Overloaded Functions. The Default Constructor. Overloading Constructors. Initializing Objects. The Copy Constructor. Summary. Q&A. Hour 14. Operator Overloading. Operator Overloading. Conversion Operators. Summary. Q&A. Hour 15. Arrays. What Is an Array? Array Elements. Writing Past the End of an Array. Fence Post Errors. Initializing Arrays. Arrays of Objects. Multidimensional Arrays. A Word About Memory. Arrays of Pointers. Declaring Arrays on the Free Store. A Pointer to an Array Versus an Array of Pointers. Pointers and Array Names. Deleting Arrays on the Free Store. char Arrays. strcpy() and strncpy(). String Classes. Summary. Q&A. PART V - INHERITANCE AND POLYMORPHISM. Hour 16. Inheritance. What Is Inheritance? Private Versus Protected. Constructors and Destructors. Overriding Functions. Summary. Q&A. Hour 17. Polymorphism and Derived Classes. Virtual Methods. Summary. Q&A. Hour 18. Advanced Polymorphism. Problems with Single Inheritance. Abstract Data Types. Summary. Q&A. Hour 19. Linked Lists. Linked Lists and Other Structures. A Case Study. The Component Parts. What Have You Learned, Dorothy? Summary. Q&A. PART VI - SPECIAL TOPICS. Hour 20. Special Classes and Functions. Static Member Data. Static Member Functions. Containment. Friend Classes. Friend Functions. Pointers to Functions. Pointers to Member Functions. Summary. Q&A. Hour 21. The Preprocessor. The Preprocessor and the Compiler. Seeing the Intermediate Form. Using define. Inclusion and Inclusion Guards. Defining on the Command Line. Macro Functions. String Manipulation. Predefined Macros. Summary. Q&A. PART VII - ADVANCED TOPICS. Hour 22. Object-Oriented Analysis and Design. The Development Cycle. Simulating an Alarm System. PostMaster: A Case Study. Summary. Q&A. Hour 23. Templates. What Are Templates? Parameterized Types. Template Definition. Using Template Items. The Standard Template Library. Summary. Q&A. Hour 24. Exceptions and Error Handling. Bugs, Errors, Mistakes, and Code Rot. Exceptions. Using try Blocks and catch Blocks. Next Steps. Style. Next Steps. PART VIII - APPENDIXES. Appendix A. Operator Precedence. Appendix B. C++ Keywords. Appendix C. Binary and Hexidecimal. Appendix D. Third-Party Software. Index.


Best Sellers


Product Details
  • ISBN-13: 9780672315169
  • Publisher: Pearson Education (US)
  • Publisher Imprint: Sams Publishing
  • Height: 232 mm
  • No of Pages: 504
  • Weight: 878 gr
  • ISBN-10: 0672315165
  • Publisher Date: 11 Mar 1999
  • Binding: SA
  • Language: English
  • Spine Width: 27 mm
  • Width: 188 mm


Similar Products

Add Photo
Add Photo

Customer Reviews

REVIEWS      0     
Click Here To Be The First to Review this Product
Sams Teach Yourself C++ in 24 Hours
Pearson Education (US) -
Sams Teach Yourself C++ in 24 Hours
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

Sams Teach Yourself C++ in 24 Hours

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept

    New Arrivals

    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!