Dynamic Memory C and C++ / Getting Started
Until now, in all our programs, we have only had as much memory available as we declared for our variables, having the size of all of them to be determined in the source code, before the execution of the program. But, what if we need a variable amount of memory that can only be determined during runtime? For example, in the case that we need some user input to determine the necessary amount of memory space.
Character Sequences C and C++ / Getting Started
As you may already know, the C++ Standard Library implements a powerful string class, which is very useful to handle and manipulate strings of characters. However, because strings are in fact sequences of characters, we can represent them also as plain arrays of char elements.
Arrays C and C++ / Getting Started
An array is a series of elements of the same type placed in contiguous memory locations that can be individually referenced by adding an index to a unique identifier.
Basic Input/Output C and C++ / Getting Started
Using the standard input and output library, we will be able to interact with the user by printing messages on the screen and getting the user's input from the keyboard.
Instructions for use C and C++ / Getting Started
This tutorial is for those people who want to learn programming in C++ and do not necessarily have any previous knowledge of other programming languages. Of course any knowledge of other programming languages or any general computer skill can be useful to better understand this tutorial, although it is not essential.
User-Defined Types C and C++ / Getting Started
The data types we used in the previous lessons for our variables were directly recognized by the C++ compiler. For this reason they are referred to as built-in types. Those data types are convenient in most scenarios. Sometimes you will need to expand on these types. The C++ language provides you great flexibility on re-defining these existing types or re-defining new ones. Learn: The Type Definition, Constant Values, Macro Definition of a Constant, User-Defined Constants, Built-In Constants and more.
Intermediate Operations C and C++ / Getting Started
This tutorial covers the Bits Operators: Comparing Bits: The Bitwise NOT Operator, The Bitwise AND Operator, The Bitwise OR Operator, The Bitwise-Exclusive XOR Operator; Bit Shift Operators: The Left Shift, The Right Shift and more.