21 Reading In Data [Learn C++ by Making Games]
Welcome to video 21 of this series. In this video, we will explore file streaming in C++. In the videos, we will get back to coding our game of hangman. File streaming - http://www.cplusplus.com/doc/tutorial/files/ ASCII Art and Word List: https://bit.ly/HangmanResources Why system() is evil: http://www.cplusplus.com/articles/j3wTURfi/ Time codes for video outline - 0:28 Streaming- 0:43 Streaming objects - 1:15 File Streaming -2:18 Stream declarations - 3:05 Connecting to a file (reading in) - 3:52 Conneccting to a file (reading out) - 4:55 Common problems - 5:33 More to learn - 5:55 Section 0 - Introduction Section 1 - Number Guessing Game Section 2 - Hangman Hangman – Iteration 1 Introduction 16 – Game Code: Pseudocode 17 – Game Code – Start screen 18 – Arrays and Vectors 19 – Loops Continued (Challenge based learning) 20 – Strings in C++ 21 – Reading in Data 22 – Game Code: Hangman variables 23 – Game Code: Word List 24 – Switches 25 – Game Code: Finishing Hangman (iteration 1) Hangman – Iteration 2 26 – What is a function? 27 – Function Definition 28 – Game Code: Clear Screen and Start Menu 29 – Function Arguments and Return 30 – Function Prototypes 31 – Variables: Global, Local, Static. 32 – Game Code: Hangman Functions Section 3 - Space Invaders Clone --------- Support this channel: https://www.patreon.com/TwoNeurons --------- Follow me at: Twitter: https://twitter.com/TwoNeuronstream Twitch: https://www.twitch.tv/twoneurons Discord: https://discord.gg/BSmsEWp
Download
0 formatsNo download links available.