Welcome to Program with Sam
C++ Lesson 5 – Control Statements
Today we’ll be looking at control statements in C++. We’ll start by looking at conditionals. Obviously, we have access to the same conditionals that are in C. This includes: If Else Else-if Switch And these can be implemented in the same way. This is shown below: These can be used to control the flow of…
C++ Lesson 4 – Header Files
Today we’re going to be making header files in C++. Visual Studio makes this very easy to do and in fact, if you’ve watch the C series, you’ll probably already now how to do this. To start, in Visual Studio, we’ll want to create the header file: In here, we’re going to declare the functions,…
Follow My Blog
Get new content delivered directly to your inbox.