AKAmmar Khanincodingwithammar.hashnode.dev路Oct 18, 2023 路 2 min readArrays 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...00
AKAmmar Khanincodingwithammar.hashnode.dev路Oct 12, 2023 路 1 min readVariables 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...00
AKAmmar Khanincodingwithammar.hashnode.dev路Oct 11, 2023 路 2 min readPredefined 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...00
AKAmmar Khanincodingwithammar.hashnode.dev路Oct 9, 2023 路 2 min readTaking 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...00
AKAmmar Khanincodingwithammar.hashnode.dev路Oct 9, 2023 路 2 min readHow 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...00