Skip to Content
C++ for Lazy Programmers: Quick, Easy, and Fun C++ for Beginners
book

C++ for Lazy Programmers: Quick, Easy, and Fun C++ for Beginners

by Will Briggs
October 2019
Beginner
655 pages
12h 5m
English
Apress
Content preview from C++ for Lazy Programmers: Quick, Easy, and Fun C++ for Beginners
© Will Briggs 2019
W. BriggsC++ for Lazy Programmershttps://doi.org/10.1007/978-1-4842-5187-4_1

1. Getting Started

Will Briggs1 
(1)
Lynchburg, VA, USA
 

Most programs in the first half of this book use the SDL and SSDL libraries,1 on the theory that watching colorful shapes move across the screen and shoot each other is more interesting than printing text. Don’t worry; when you’re done, you’ll be able to write programs both with and without this library – and if I have anything to say about it, you’ll have had fun doing it. Let’s see how it goes.

A simple program

It’s wise to start small. Fewer things can go wrong.

So we’ll start small here with a simple program that writes “Hello, world!” on the screen. We’ll take it line by line to see what’s in it. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

C++20 for Lazy Programmers: Quick, Easy, and Fun C++ for Beginners

C++20 for Lazy Programmers: Quick, Easy, and Fun C++ for Beginners

Will Briggs

Publisher Resources

ISBN: 9781484251874Purchase LinkPublisher Website