Introduction to C++
In this video, we are going to see what a compiler is, what are some programming paradigms supported in C++. Then we will see the basic structure of C++ program and finally write our first Hello World program in C++.
Series playlist: https://youtube.com/playlist?list=PLt4rWC_3rBbWnDrIv4IeC4Vm7PN1wvrNg
Source Code:
// ---------------------------
// WHAT IS COMPILER
// ---------------------------
/*
A compiler converts code written in a high level language (such as C++) into binary code(0's and 1's) for the computer to understand.
*/
// ---------------------------
// PROGRAMMING PARADIGMS
// ---------------------------
// 1. Procedural Programming
// 2. Object Oriented Programming
// 3. Generic Programming
// 4. Game Development
#include <iostream>
using namespace std;
int main ()
{
int a = 10;
cout << "The value of a is " << a << endl;
return 0;
}
0 Comments