Basic of C++ and Hello Word
/*
in this class we are only conversation about this course and more how this course run and,
how it work and more about
but Write First "Hello World" without understanding only testing how it work and Hello World" Working and not
*/
#include <iostream> // <iostream> is a header file in this file has already defined same code what work cin, cout, print, this main using for input output, if you want more knowledge about this visit google and write a header file name only and hit Enter you got your and ware and more about header file
using namespace std;
int main()
{
cout << "Hello I'm First Line\n";
printf("\n"); // "\n" using for a line brack
printf("\n"); // "\n" this is way to leave this line
printf("\n"); // "/n" this way to input in second line
printf("This is second way to print anythink\n");
return 0;
}
Topic 1.1 What is C++
1. C++ is a statically-typed, Free-form, (Usually) Compiled, multi-paradigm, Intermediate-level general-purpose middle-level programming language.
- Statically-Typed: You need to follow the C++ Sentence. If you do not follow the sentence you get an error.
- Free-Form: C++ does not have any form you can write any type and where only follow Sentence.
- Compiled: C++ is using after compiled. (same time note need to compile for run the program)
- Multi-Paradigm: you can solve C++ in many types (Many typed for solve problem in C++)
- Intermediate-Level general-purpose Middle-level Programming Language.
2. C++ is a general-purpose programing language based on C. It was developed by Bjarne Stroustrup in 1979.
3. many of today's Operating Systems, Systems Drivers, Browser, and games use C++ as their core Language. This makes C++ one of the most popular Languages.
4. Since it is an enhanced/extended version of the C programming language. C and C++ are often denoted together as C/C++. (C and C++ are very similar programming Language).
Topic 1.2 Why C++?
1. C++ is irreplaceable.
2. You lean the internal architecture of a computer.
3. C++ job opportunities and salary.
Topic 1.3 Features of C+
C++ is Statically Typed
C++ is a multi-paradigm programming Language (We can solve it by many typed)
An object-oriented programming language with C++ (Not Completely Like JAVA)
Power of standard library (Standard Template Library - STL)
Give Same Suggestion