Difference between revisions of "Intermediate C++ Game Programming Tutorial 1"

From Chilipedia
Jump to: navigation, search
(Created page with "This video talks about the course syllabus for the Intermediate C++ tutorial series (the shit we gonna learn) and the prerequisites for following this series (what you need to...")
 
Line 1: Line 1:
This video talks about the course syllabus for the Intermediate C++ tutorial series (the shit we gonna learn) and the prerequisites for following this series (what you need to know, and what you need to have). Use it to get an idea of what this series is about, and whether you have what it takes to follow along. If you don't know this shit, check out the links below for my Beginner C++ series. Check out the [[Beginner C++ Game Programming Series#Topics Covered|list of topics learned in Beginner]] for more details on what you need to know to follow Intermediate.
+
We've been using <code>int</code>s and <code>float</code>s and <code>bool</code>s this whole time, but have you ever wondered about a day in the life of a variable? In this video, we find that shit out, and so much more. We also learn about the cousins of <code>int</code> and <code>float</code>, adding to our arsenal basic data types we can use. What's the endgame you ask? This stuff is gonna help us understand pointers and strings, and it's just interesting shit.
  
 
== Topics Covered ==
 
== Topics Covered ==
*
+
* The concept of memory (RAM)
 +
* Binary and hexadecimal number systems
 +
* <code>char</code>, <code>short</code>, <code>long long</code>, <code>double</code>
 +
* <code>unsigned</code> integral types
 +
* The ranges and sizes of basic data types
 +
* Layout of variables in memory
 +
* Correspondence between C++ code and CPU operations
  
== Basic Plan for Intermediate ==
+
== Optional Video - Red Pill [Memory and Data] ==
We're gonna start low level, and work our way up quickly to the good shit. This first arc of Intermediate is gonna be 100% console app land. First comes a little lecture on memory, variables, and the binary number system. Then we cover pointers, c-strings and console I/O, basic file I/O, and heap allocation. This is where we ascend to a higher plane of thought. We will migrate from c-strings and basic I/O to awesome <code>std::string</code> and std streams. While we're on the topic of containers, let's get a taste of <code>std::vector</code>. Then, we'll wrap up the console app section with a fun little word game, putting together everything learned so far in Intermediate.
+
  
After the console section, the plan is to learn how to load an image from a bitmap file, and then to cover basic sprite drawing operations, so we can abandon the nasty <code>PutPixel</code> calls once and for all. After this we'll cover more standard library containers, iterators, and algorithms. We're gonna learn OOP concepts like inheritance and polymorphism. We're gonna learn sweet C++11 stuff like lambda functions and move semantics. And we're gonna make more games.
 
  
 
== Video Timestamp Index ==
 
== Video Timestamp Index ==

Revision as of 23:03, 4 May 2017

We've been using ints and floats and bools this whole time, but have you ever wondered about a day in the life of a variable? In this video, we find that shit out, and so much more. We also learn about the cousins of int and float, adding to our arsenal basic data types we can use. What's the endgame you ask? This stuff is gonna help us understand pointers and strings, and it's just interesting shit.

Topics Covered

  • The concept of memory (RAM)
  • Binary and hexadecimal number systems
  • char, short, long long, double
  • unsigned integral types
  • The ranges and sizes of basic data types
  • Layout of variables in memory
  • Correspondence between C++ code and CPU operations

Optional Video - Red Pill [Memory and Data]

Video Timestamp Index

Tutorial 1

Homework

None!

See also