Author: josh

C++ Data Types

Below is a cheat sheet for C++ data types showing the amount of bytes each one uses and there specified ranges. Data Type 16 Bits 32 Bits Range unsigned short int 2 bytes 2 bytes 0 to 65,535 short int 2 bytes 2 bytes -32,768 to 32,767 unsigned long int 4 bytes 4 bytes 0

C++ Operators

When looking at the precedence level column, remember level 1 is the highest precedence and each level thereafter has less and less precedence. Precedence Level Operators Order of Evaluation 1 ( ) . [ ] -> :: Left to Right 2 * & ! ~ ++ — + – sizeof new delete Right to Left

Lesson 1: Getting Set Up

This lesson is going to focus on setting up your development environment and compiler. The development environment is where we’re going to all of our hard work and the compiler is the “engine” installed onto your OS (operating system) to converts our C++ instructions into a machine-code or lower-level form so that they can be

Why Should I Learn C++

This is a question asked a lot, and not just about C++. This question is asked about almost any programming language that has been around for a few years. Granted, yes, there are new programming languages cropping up all over the place, but the truth is C++ has been around since 1979 developed by Bjarne