Arrays in C++Hello again. Today I will be teaching you about arrays in C++. Arrays can store multiple values of the same data type. To declare an array we simply type the data type we want the array to be and then we type the array name then in square brackets we...2 min read路codingwithammar.hashnode.devOct 18, 2023
Variables in C++Hello and welcome back today I will be discussing how to declare variables and what variables are in C++. Variables are essentially containers in which we can store values. Now why do we have to store values you ask 馃. We store values in variables t...1 min read路codingwithammar.hashnode.devOct 12, 2023
Predefined Datatypes with C++Hello and welcome back, Today I will be teaching you about the five different pre-defined datatypes in C++. string text = "Coding with Ammar"; //string datatype First of all, we have a string datatype. As you can see the string datatype is typed wit...2 min read路codingwithammar.hashnode.devOct 11, 2023
Taking Input from User in C++Hello and welcome back. As a quick recap in my previous post, I discussed how we can output text with code. This is a snippet of code from the previous post - #include<iostream> using namespace std; int main(){ cout<<"Coding with Ammar"; // Outp...2 min read路codingwithammar.hashnode.devOct 9, 2023
How to Show Your Output in C++Hello and Welcome, My name is Ammar and today I will be showing how you can print anything on a screen. First of all, On the first line, we type - #include<iostream> This is a standard input-output stream. It offers input and output functions. On th...2 min read路codingwithammar.hashnode.devOct 9, 2023