C++ Tutorial for Complete Beginners
This course teaches you the powerful, fast and popular C++ programming language from scratch, assuming only basic computer knowledge. If you want to develop apps that squeeze the most power from your computer — high-end desktop games or complex artificial intelligence programs, for instance — or if you want to use a language that let’s you get close to your machine and access all of your computer’s hardware, C++ is the language for you. While C++ is quite challenging, in this course we’ll learn the basics step by step; towards the end of the course you’ll learn how to create a beautiful “particle fire” program, including a smattering of the basic principles of game development.
What is C++ and why should you learn it?
What you need to get started with C++, and where you can get it.
How to "print" text to the console in C++.
Strings let you store bits of text that you can use later in your program.
Our programs aren't very interesting until they are interactive. So in this tutorial we'll look at getting input from the user.
In C++, it helps a lot to know a bit about how the computer's memory is structured. So we'll take a look at binary numbers, bits and bytes in this tutorial
C++ provides you with various kinds of variable types for working with numbers. In this tutorial we'll take a look at integer types.
Subroutines: Reusable Blocks of Code
Object Oriented Coding
Pointers and Memory
Odds and Ends: Twos Complement and Static Variables
Developing a Program: The Particle Fire Simulation
Note: Lazy Foo's tutorials are a great resource for specific SDL setup instructions, and SDL in general: http://lazyfoo.net/tutorials/SDL/01_hello_SDL/index.php
Note: for Windows you need both SDL2.lib and SDLmain.lib