The vector is a simple data structure that allows you to store values with the same data type in one container. Introduction Without the use of a data structure, how would you store multiple variables? Let’s say we wanted to store 5 names into strings. How would this be done? string name1,name2,name3,name4,name5; cin >> name1 Full Article…
Game Career Guide 2008
Soon enough, Talk Binary will be launching video game demos anyone can pick up and play, as well as tinker with the source code in order to learn and make your own games! Meanwhile, for those interested in learning about how to get into the gaming industry, here is something for you to definitely check Full Article…
Advanced Control Flow – While Loop
Introducing the while loop with an example and several exercises. Meant for beginners.
Advanced Control Flow – For Loop
Introducing a basic for loop with a detailed break down of every line of code that makes this loop. Practice problems are also provided.
Basic Control Flow Continued
By this time you should be familiar with the basics behind If and Else if statements. Below you’ll see more examples and more ways to use Control Flow in your programming. 1. You’ll learn more advanced ways of manipulating control flow in your program. 2. You’ll also learn how to declare and initialize boolean variables. Full Article…
Basic Control Flow
In the following tutorial, you’ll learn how to use if, and if-else statements. They are useful for deciding on what lines of code to execute based on values of previous variables in your program. The If Statement An example is as follows int x; if ( condition ) x = 50; //If condition returns TRUE, Full Article…
Fundamental Data Type String
In this tutorial you shall learn how to use 1. String Data Type You should immediately notice that the declaration and assignment of a string is similar to int and doubles which you learned previously. Declaring and Initializing the String First make sure you have the appropriate headers in the file where you plan to Full Article…
