• Complain

Will Briggs - C++20 for Lazy Programmers: Quick, Easy, and Fun C++ for Beginners, 2nd Edition

Here you can read online Will Briggs - C++20 for Lazy Programmers: Quick, Easy, and Fun C++ for Beginners, 2nd Edition full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2020, publisher: Apress, genre: Home and family. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

Will Briggs C++20 for Lazy Programmers: Quick, Easy, and Fun C++ for Beginners, 2nd Edition
  • Book:
    C++20 for Lazy Programmers: Quick, Easy, and Fun C++ for Beginners, 2nd Edition
  • Author:
  • Publisher:
    Apress
  • Genre:
  • Year:
    2020
  • Rating:
    5 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 100
    • 1
    • 2
    • 3
    • 4
    • 5

C++20 for Lazy Programmers: Quick, Easy, and Fun C++ for Beginners, 2nd Edition: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "C++20 for Lazy Programmers: Quick, Easy, and Fun C++ for Beginners, 2nd Edition" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

Ready to learn programming with less effort and more fun? Then do it the lazy way! C++20 for Lazy Programmers uses humor and fun to make you actually willing to read and eager to do the projects as you master the popular and powerful C++ language. Along the way it includes many features from the new C++20 standard, such as ranges, spans, format strings, the spaceship operator, and concepts (template parameter requirements), and provides brief introductions to modules and coroutines.

With this unique method, youll stretch your abilities with a variety of projects, including your own C++ arcade game. Youll construct your own classes, templates, and abstract data types. After reading and using this book youll be ready to build real-world C++ applications and game projects on your own.

What You Will Learn:
  • The brand-new C++20 standard
  • Programming graphics and games with the SDL library, using SSDL, the Simple SDL wrapper library
  • How to use the most common C++ compilers -- Visual Studio for Windows, and g++ (with Unix or MinGW) -- and their associated debuggers
  • Anti-bugging for easy fixes to common problems
  • Sound practices for becoming a productive programmer
  • How to make your own big projects, including a C++-based arcade game
  • The built-in Standard Template Library (STL) functions and classes for easy and efficient programming
  • Powerful data types including strings, stacks, vectors, and linked lists -- not by reading about them but by building them -- preparing you further for a career in programming
Who This Book Is For

All who are new to C++, either self-learners or students in college-level courses.

Will Briggs: author's other books


Who wrote C++20 for Lazy Programmers: Quick, Easy, and Fun C++ for Beginners, 2nd Edition? Find out the surname, the name of the author of the book and a list of all author's works by series.

C++20 for Lazy Programmers: Quick, Easy, and Fun C++ for Beginners, 2nd Edition — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "C++20 for Lazy Programmers: Quick, Easy, and Fun C++ for Beginners, 2nd Edition" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
Contents
Landmarks
Book cover of C20 for Lazy Programmers Will Briggs C20 for Lazy - photo 1
Book cover of C++20 for Lazy Programmers
Will Briggs
C++20 for Lazy Programmers
Quick, Easy, and Fun C++ for Beginners
2nd ed.
Logo of the publisher Will Briggs Lynchburg VA USA Any source code or - photo 2
Logo of the publisher
Will Briggs
Lynchburg, VA, USA

Any source code or other supplementary material referenced by the author in this book is available to readers on GitHub via the books product page, located at www.apress.com/9781484263051 . For more detailed information, please visit http://www.apress.com/source-code .

ISBN 978-1-4842-6305-1 e-ISBN 978-1-4842-6306-8
https://doi.org/10.1007/978-1-4842-6306-8
Will Briggs 2021
This work is subject to copyright. All rights are reserved by the Publisher, whether the whole or part of the material is concerned, specifically the rights of translation, reprinting, reuse of illustrations, recitation, broadcasting, reproduction on microfilms or in any other physical way, and transmission or information storage and retrieval, electronic adaptation, computer software, or by similar or dissimilar methodology now known or hereafter developed.
The use of general descriptive names, registered names, trademarks, service marks, etc. in this publication does not imply, even in the absence of a specific statement, that such names are exempt from the relevant protective laws and regulations and therefore free for general use.
The publisher, the authors and the editors are safe to assume that the advice and information in this book are believed to be true and accurate at the date of publication. Neither the publisher nor the authors or the editors give a warranty, expressed or implied, with respect to the material contained herein or for any errors or omissions that may have been made. The publisher remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Distributed to the book trade worldwide by Apress Media, LLC, 1 New York Plaza, New York, NY 10004, U.S.A. Phone 1-800-SPRINGER, fax (201) 348-4505, e-mail orders-ny@springer-sbm.com, or visit www.springeronline.com. Apress Media, LLC is a California LLC and the sole member (owner) is Springer Science + Business Media Finance Inc (SSBM Finance Inc). SSBM Finance Inc is a Delaware corporation.

To the learners and readers. They tell me whats wrong, and whats right.

Introduction

Surely theres no shortage of C++ intro texts. Why write yet another?

Im glad you asked.

Ever since moving from Pascal to C++ (back when dinosaurs roamed the Earth), Ive been underwhelmed by available resources. I wanted something quirky and fun to read, with sufficient coverage and fun examples, like the old Oh! Pascal! text by Cooper and Clancy. Even a perfectly accurate text with broad coverage gives you nothing if you fall asleep when you read it. Well, nothing but a sore neck.

But the other reason, of course, is to promote laziness.

We all want our projects to be done more quickly, with less wailing and gnashing of teeth. Sometimes, its said, you have to put your nose to the grindstone. Maybe, but I like my nose too well for that. Id rather do things the easy way.

But the easy way isnt procrastinating and dragging my feet; its to find something I love doing and do it well enough that it feels relatively effortless. Its producing something robust enough that when it does break down, it tells me exactly what the problem is, so I dont have to spend a week pleading with it to explain itself. Its writing code that I can use again and again, adapting it to a new use in hours instead of days.

Heres what you can expect in this book:
  • A pleasant reading experience.

  • Adequate coverage.

  • Games, that is, use of the SDL (Simple DirectMedia Layer) graphics library, which makes it easy to get graphics programs working quickly. It isnt fair that Python and Visual Basic should get all the eye candy. The SDL library is used through Chapter 12. After that, well mostly use standard I/O, so we can get practice with the more common console programs.

  • An easy introduction to SDLs graphical magic, using the SSDL (simple SDL) library (see below).

  • Sufficient examplesand they wont all be about actuarial tables or how to organize an address book. (See A pleasant reading experience above.)

  • Antibugging sections throughout the text to point out common or difficult-to-trace errors and how to prevent them.

  • For g++ programmers, instructions on using g++, the ddd/gdb debugger system, and Makefiles; for Visual Studio, use of the debugger and project files.

  • Compliance with C++20, the latest standard, and the goodies it provides.

  • Hands-on experience with advanced data types like strings, stacks, vectors, and lists not by reading about them, but by building them yourself.

  • An appreciation of laziness.

  • A cool title. Maybe I could have tried to write a For Dummies book, but after seeing Bioinformatics for Dummies, Im not sure I have what it takes.

Why SDL?
Its surely more enjoyable to make programs with graphics and WIMP-style interaction than to merely type things in and print them out. There are a variety of graphical libraries out there. SDL , or Simple DirectMedia Layer, is popular, relatively easy to learn, portable between platforms, and fast enough for real-world work, as evidenced by its use in actual released games.
Figure 1 A game of Freeciv which uses the SDL library Why SSDL but although - photo 3
Figure 1

A game of Freeciv, which uses the SDL library

Why SSDL?

but although SDL is relatively easy, its not simple enough to start on day 1 of programming with C++. SSDL simple SDL saves you from needing to know things we dont get to until Chapter 14 before doing basic things like displaying images (Chapter 2) or even printing a greeting (Chapter 1). It also hides the initialization and cleanup code thats pretty much the same every time you write a program and makes error handling less cumbersome.

You may want to keep using SSDL as is after youre done with this book, but if you decide to go on with SDL, youll find you know a lot of it already, with almost nothing to unlearn: most SSDL function names are names from SDL with another S stuck on the front. Well go into greater depth on moving forward with SDL in Chapter 29.

(Free) software you will need

At the time of writing, Microsoft Visual Studio (Community Edition) for Windows is absolutely free, and g++ always is. So are the SSDL and SDL2 libraries; Microsoft Core fonts for the Web , which youll need on Unix systems; and the GIMP deluxe graphics editing package. See Chapter 1 and Appendix A for help installing these essentials.

Programming with sound may not be practical over remote connections because of the difficulty of streaming sound. If using Unix emulation, you might check the emulators sound capabilities say, by playing a video.

If this is for a course

C++20 for Lazy Programmers covers through pointers, operator overloading, virtual functions, templates, exceptions, STL (Standard Template Library), and everything you might reasonably expect in two semesters of C++ plus extras at the end.

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «C++20 for Lazy Programmers: Quick, Easy, and Fun C++ for Beginners, 2nd Edition»

Look at similar books to C++20 for Lazy Programmers: Quick, Easy, and Fun C++ for Beginners, 2nd Edition. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «C++20 for Lazy Programmers: Quick, Easy, and Fun C++ for Beginners, 2nd Edition»

Discussion, reviews of the book C++20 for Lazy Programmers: Quick, Easy, and Fun C++ for Beginners, 2nd Edition and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.