Book description
Learning C++ Doesn’t Have to Be Difficult!
Have you ever wanted to learn programming? Have you ever wanted to learn the C++ language behind many of today’s hottest games, business programs, and even advanced spacecraft? C++ Without Fear, Third Edition, is the ideal way to get started. Now updated for the newest C++14 standard and the free Microsoft Visual C++ Community Edition, it will quickly make you productive with C++ even if you’ve never written a line of code!
Brian Overland has earned rave reviews for this book’s approach to teaching C++. He starts with short, simple examples you can easily enter and run. Within a couple of chapters, you’ll be creating useful utilities, playing games, and solving puzzles. Everything’s simplified to its essentials, patiently explained, and clearly illustrated with practical examples and exercises that help you make progress quickly.
Overland reveals the “whys” and “tricks” behind each C++ language feature. And you’ll never get bogged down in complex or pointless examples: He keeps you 100% focused on learning what works and what matters—while having fun!
This new and improved edition
Covers installing and using the free Microsoft Visual C++ Community Edition—but you can use any version of C++
Explains valuable improvements in the new C++14 standard
Modularizes C++14 coverage so it’s easy to write code that works with older versions
Teaches with even more puzzles, games, and relevant exercises
Offers more “why” and “how-to” coverage of object orientation, today’s #1 approach to programming
Presents more ways to use Standard Template Library (STL) code to save time and get more done
Contains an expanded reference section for all your day-to-day programming
Whether you want to learn C++ programming for pleasure or you’re considering a career in programming, this book is an outstanding choice.
Table of contents
- About This E-Book
- Title Page
- Copyright Page
- Praise for Previous Editions of C++ Without Fear
- Dedication Page
- Contents
- Preface
- Acknowledgments
- About the Author
-
1. Start Using C++
- Install Microsoft Visual Studio
- Create a Project with Microsoft
- Writing a Program in Microsoft Visual Studio
- Running a Program in Visual Studio
- Compatibility Issue #1: stdafx.h
- Compatibility Issue #2: Pausing the Screen
- If You’re Not Using Microsoft
- Advancing to the Next Print Line
- Storing Data: C++ Variables
- Introduction to Data Types
- A Word about Variable Names and Keywords
- Chapter 1 Summary
- 2. Decisions, Decisions
- 3. And Even More Decisions!
- 4. The Handy, All-Purpose “for” Statement
- 5. Functions: Many Are Called
- 6. Arrays: All in a Row...
- 7. Pointers: Data by Location
- 8. Strings: Analyzing the Text
- 9. Files: Electronic Storage
- 10. Classes and Objects
- 11. Constructors: If You Build It...
- 12. Two Complete OOP Examples
- 13. Easy Programming with STL
- 14. Object-Oriented Monty Hall
- 15. Object-Oriented Poker
- 16. Polymorphic Poker
- 17. New Features of C++14
- 18. Operator Functions: Doing It with Class
- A. Operators
- B. Data Types
- C. Syntax Summary
- D. Preprocessor Directives
- E. ASCII Codes
- F. Standard Library Functions
- G. I/O Stream Objects and Classes
- H. STL Classes and Objects
- I. Glossary of Terms
- Index
- Code Snippets
Product information
- Title: C++ Without Fear: A Beginner’s Guide That Makes You Feel Smart, Third Edition
- Author(s):
- Release date: December 2015
- Publisher(s): Pearson
- ISBN: 9780134319001
You might also like
video
C++ Without Fear
6+ Hours of Video Instruction Overview C++ Without Fear LiveLessons provides a gentle introduction to C++ …
book
Professional C++, 4th Edition
Get up to date quickly on the new changes coming with C++17 Professional C++ is the …
book
C++ All-in-One For Dummies, 4th Edition
Get ready for C++20 with all you need to know for complete mastery! Your comprehensive and …
book
Professional C++, 5th Edition
Improve your existing C++ competencies quickly and efficiently with this advanced volume Professional C++ , 5th …