Basic of C++ and Hello Word (Class 1.1)

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 fast.
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)


Topic 1.4 What C++ Compiler Does (Basic) & How Compiler Works

How Compiler Works

Basic Structure of a C++ Program (Class 02)

Basic Structure of a C++ Program (Class 02)



Basic Structure of hello Word in C++


#Include

#include is a way of including a standard or user-defined file in the program and is mostly written at the beginning of any C/C++ program.
The process of importing such files that might be system-defined or user-defined is known as File Inclusion. This type of per-processor directive tells the compiler to include a file in the source code program.


<iostream>

It's called Header file. In Header file has already defined same works.
For Example the <iostream> has defined Work of "Cin" "Cout" and more.


and about data Types and Fuction we are read in Class 03

Top 5 Best Laptop for Programmer under 50000 (2020)

Best 5 Laptop for Programmer Under RS 50,000 in India


Hello friends, Yesterday night my friends call me and asked me which laptop is best for me. I'm saying which and what work you want to do on your laptop. He asked I'm CSE (Computer science  Engineer), student so want a laptop, So I'm Suggest the same laptop for them so I share you Top 5 Best Laptop for Programmer under 50,000  In INR

5 Best Laptop for Programmer under 50000 in 2020

Who I'm for Suggestion

I hope you have a question about me who I'm for giving you a suggestion about which laptop best for a programmer. I Suggestion you because I'm also a CSE (Computer Science Engineer). I Know Which problems we see as a programmer and student.

I'm Focused on same point's for buying any laptop
  • Lightweight
  • 7-8 hours Battery Life
  • Backlit Keyboard
  • Ram & SSD
  • CPU & GPU
  • Display
  • Operating System

1. Mi NoteBook 14

Mi Notebook 14 is best laptop uner 50000 INR for programing in 2020

This is the best laptop in 40,000 for a programmer and all productive work because this laptop has i5-10th Gen CPU  with 8GB DDR4 Ram in 2666 MHZ it helps in multitasking and heavy work. but it's Windows-based laptop As you all know that in Windows laptop lose Speed according to your daily uses but it's great  for normal gaming, programming, multitasking, and productive work and students who are carrying a laptop in his backpack in college and travel

This laptop comes with 3 different prices according to graphics and storages you can choose according to your use and requirements

Short Highlight's
  • 10 hours battery backup for a long term word flow
  • FHD 14 inches Display for Color Correction in images and videos
  • Backlit Keyboard for work in the dark and low light
  • Ultra-light 1.5kg essay to carry in college bag all-day
  • Good Company Mi is a good and biggest phone company in India
  • Fast Boot Because it's has SSD as a storage 
  • Multitasking Work: Intel i5 (10th Gen)
  • Normal Gaming: play PUBG in Normal Setting
  • Free Webcam: HD Webcam for a video call (good quilty)
  • Free Mouse: You get Free mouse with the laptop Box
 If you want more about this laptop in details click here for Reading more.

If you don't need any backlit keyboard, and you want to buy a windows laptop in 40,000 RS This is the best laptop in July 2020

2. MacBook Air 2017

Macbook Air 2017 is best laptop under 50000 INR for all programming

This is the best favorite laptop under 50,000 INR. I know it's the same old best this is the amazing performance in 2020 but all think is not good just like Display it's not good if you're doing your very much work for Color Correction and it's very important for you so this laptop not for you. but in the performance, as you all know the apple make the best product it's has 10-12 hours Normal Web-browsing


Good Point's for MacBook Air 207

  • Battery life: 10-12 hours!
  • Ram: 8GB Amazing Ram Management
  • Apple Product
  • Backlit Keyboard
  • Great for long term
  • 128GB SSD
  • CPU is old but Performance is Unbelievable
  • HD Webcam
  • macOS High Sierra OS (Latest Version)
  • Ultra-light 1.3kg

Not Good Point's MacBook Air 207

  • Display: is bad, Not Good for Color Correction 
  • Repairing Cost: Very Hight (1st Year Warranty)
  • Storage: is very low only 128GB
  • Launched 3 years ago
If you want a long term laptop and good product for you can use it everywhere If you but you did not need any laptop at 2022 it's very future proof my one friend NIKI buy it in 2017 and now in 2020 it works amazing and I'm buying 3 Laptop under 3 Years.

Why I'm not using MacBook Air

  • Repairing Cost is very high
  • The display is not FHD (use another FHD monitor for display)
  • My Engineering Software is not working in mac
  • My Collage providing Mac in our lab

In the last, If you don't care about the display you may buy this laptop from amazon and Flipkart but under 50,000 is a good deal but about this price, it's a very bad deal for students Because you buy a laptop only 1 in 4 to 5 years.

In Short, if you want long battery and high performance and you 128GB if good for you and display not require for you go and buy this is for you. Also, visit on youtube and watch videos on long team (2 years) use reviews

3. ASUS ZENBOOK 14

ASUS ZENBOOK 14 is best laptop for all runder under 50000 INR

You are looking for a high-performance laptop in 50,000 -60,000. This is the best laptop good looks, lightweight, and high-level CPU AMD Ryzen 5-35000, all-rounder laptop for students and the best point is 12 hours battery all-day battery laptop


Display:     14 inches LED Backlit FHD (1920 x 1080) Display

Ram:          8GB 2400mhz DDR4
Storage:     512GB SSD

CPU:         AMD Ryzen-5 3500 (4 Core / 8 Threads)
Graphics:  AMD RadeonVega8 Graphics

Weight:     1.39kg
Keyboard: Backlit Keyboard

Fingerprint:    Yes  
Webcam:       HD Webcam

Battery:        up to 12 hours Battery Backup
Operating System: Windows 10 Home


Display:

Yes, this laptop has a good quilty display but this display you can see on many laptops from 40k. It's is not highlight think it's good for editing and watching videos.

Editing and Multitasking

This laptop has 8GB DDR4 Ram you can easily use much software in one time without any issues but if you are editing 4k video it's many be lag in adobe premiere pro and but it can do it,
You can easily do Multitasking because the CPU is Good and easily load photoshop, adobe premiere pro, and web browsing without editing

Battery

The Asus clam this laptop gives us 12 hours battery backup but personal use this laptop has a good battery but not 12 hours you can get 9-10 hours in Normal use and 7-8 hours in high usage.
The battery is great but remembers in Windows  laptop the battery performance going low according to your use

Gaming

100% it's very good in gaming if you are playing PUBG in Medium setting you get about 80 FPS. I am not recommended this laptop for gaming you can play the game for enjoyment but this is a not gaming laptop if you want to play I suggest you build a pc that can give you better FPD and good editing experience.

Programing

If you are a coder you already know that we are easily writer code in normal laptop and pc we don't need any high-Performance laptop you can do programming in 10 years old computers because programing is very light work.

if you are a programmer and buying a laptop first consider the battery life of the laptop and lightweight laptop same tip for all college students


If you finding an all-rounder laptop This is good. Visit Amazon and learn more


4. Asus Vivobook 15 X512FA-EJ373T

Asus Vivobook 15 is best laptop under 50000 for programming

If ready tall you now I'm only completing  My Top 5 Best Laptop for Programmer under 50000 (July) list. But I'm not telling you this is a bad laptop bad in this first 3 laptops are really amazing. read this for knowledge.

Display:     15.6 inches FHD (1920 x 1080) Display

Ram:          4-12GB DDR4
Storage:     512GB SSD

CPU:         Intel i3-10th Gen (2 Core /4 Threads)
Graphics:  Intel Integrated graphics

Weight:     1.7kg
Keyboard: Backlit Keyboard

Fingerprint:    Yes  
Webcam:       Not HD

Battery:        up to 4-5 hours Battery Backup
Operating System: Windows 10 Home (64bit)

all over its a good laptop for programming, web browsing, and normal work but in the same price range you you buy mi notebook 14 this mi notebook is very good and amazing than it


5. Asus Vivobook 14 X409UA-EK361TS

Asus Vivobook 14 is best laptop for programming under 30000

This is the best laptop in 30,000. this price range it gives good thinks

Display:     14 inches LED Backlit FHD (1920 x 1080) 60Hz Anti-Glare Panel with 45% NTSC

Ram:          4-12GB DDR4
Storage:     256GB M.2 SSD

CPU:         Intel i3-7th Gen (2 Core)
Graphics:  Intel Integrated graphics

Weight:     6.7kg
Keyboard: Not Backlit Keyboard

Fingerprint:    Yes
Webcam:       Yes, but Not HD

Battery:        4-5 hours! (60% Charge in 49 min.)

Operating System: Windows 10 Home (64bit)
Software: Pre-installed Microsoft Office Home & Student 2019 | Operating System: Pre-loaded Windows 10 Home with lifetime validity

If your budget is 30,000 and you are looking the best laptop for programming Laptop

Where you can use

  • Programming
  • Web browsing
  • Normal photoshop
  • Very Basic Video Editing
  • Normal day to day Tasks
  • Not for PUBG
  • Play PUBG PC Lite low setting

Good Points 

  •  Under 30,000
  • i3-8th Gen
  • M.2 SSD
  • upgradeable Ram (4-12GB)
  • Touch I'd (Fingerprint Scanner)
  • LifeTime Windows Install
  • Microsoft Office 
  • Fast Charging

Bad Points

  • Not Hd Webcam
  • Not Backlit Keyboard
  • Low Storage 

if you have any problem and suggestions for us,, please comment
we improve by your suggestion 

Thank You So Much

All Topic of C++ Course

All Topic of C++ Course


I'm a coder and I'm leaning C++ Course from youtube and I join the 2 playlists of C++ Programming

  1. First List From Apni Kaksha Youtube channel
  2. And Second From Codewithharry YouTube Channel
In this list, I want to save my project's for public Free but remember this is my project visit on that channel and Learn More Best

Here I will create Apni Kaksha Course Project

All Topic of C++ Course
All Topic of C++ Course

Class 01

Learn about C++ and what we get in this course and writer First "Hello World" in C++


How To Write Hello World in C++ Programming Language

How To Write Hello World in C++ Programming Language


How To Write Hello World in C++ Programming Language
C++ Hello World with all problems

So we are writing Hello World in C++ programming language. I'm using Windows as an Operating System and IDE VSCode and complier are Mingw.

The Hello Word Programme

#include<iostream>
using namespace std;
int main()
{
    cout<<"Hello Word";
    return 0;
}



Questions for This Program

  1. What is #include, why we use
  2. what is <iostream> and why we use
  3. what is the namespace and why we use
  4. What is std and why use
  5. int main
  6. what is the main
  7. What is cout
  8. what is return 
  9. and why we use 0 in return 

ANSWER FOR THOSE QUESTIONS

1. #include
When we are writing a C++ Program. we need to add some Header file. So #include is used to add the Header file to the program. In Header file has already defined the function we are using in the program.

Example: I'm using <iostream>  Header File by #include because in this file has already defined many Function and Variables so don't need to define any functions and think more
we are using Header file for a done job fast and easily

2. <iostream>
It's is a Header file using for taking input and output from user and program so we used this Header file but in the next tutorial,
we are using more header files in our program

baki bata pina bad

What is CPU | Types of CPU (2020)

What is CPU


What is CPU | Types of CPU (2020)


So we are covering this article in the same topics
  1. What is CPU
  2. Types of CPU
  3. Main Functions of CPU

What is CPU

CPU Full name is Central Processing Unit. We can call them the mind of Computers just like a human has a mind to identity Thinks(Objects) and calculate any this we are seeing, hearing, and felling, The Same work is doing a CPU (Central Processing Unit) on a computer.

For more understand we can think the computer is a human being body and CPU is a part of the body(Mind).

When we are doing any task by phone, tab, Laptop, and more all work done by CPU (Processer) now you reading this article this processed by your CPU when you open your browser and search anything it's done by When you are playing PUBG the CPU is playing the game and giving you joy.

Each Process doing, done by CPU (Where it use)

More about CPU by Books
A central processing unit also called a central processor or the main processor is the electronic circuitry within a computer that executes instructions that make up a computer program. The CPU performs basic arithmetic, logic, controlling, and input/output operations specified by the instructions in the program.

If want to learn more about CPU and get more deep knowledge about CPU you can visit Wikipedia


Types of cpu (Central processing unit)

TYPES OF CPU

Different Persone Purchasing Different Different CPU according to Different Different work.

Just like if I want to build a pc for gaming so I need a Good Cores CPU but more invest in GPU (Graphics processing unit) But I need a Dual Cares CPU for Better Experience.

In Productive work, I need a very good CPU Just like Photoshop, Video Editing, and heavier Software 

Now I'm Using AMD Ryzen 7 2700x CPU (8 Cores | 16 thread) Because I'm Editing my 4k Video on this CPU So I Need Good Processer

Light Test: If I'm Using PC For light test So I Don't need heavy CPU


So CPU Divided into Three Types of CPU

1. Single Cores CPU

This Types of CPU are very older Types Computer CPU. Those CPU has only Single core available for Its low-end CPU

In 2020-21 It's Impossible Task  to find these types CPU Now

Just Like we all know that Nokia 1110 is an old phone but not findable in 2020-21 So just for knowledge it very old Genracan of Computer CPU


2.  Dual-Core CPUs 

This CPU has Two core and two threads in single CPU

This CPU 2x faster than Single Cores CPU. 
1 Dual-Core CPU = 2 Single-Core CPU

In 2020-21 it's good for web Browsing and more light work we can do light Photo editing in Photoshop and Video editing by a dual-core CPU

My First Laptop has AMD A6 Dual-core CPU and I can do 720 Video editing, Smooth Photo editing nad good web browsing by Dual-Core CPU


3.  Quad-Core CPU

This Type CPU has Two and more core and threads 

If you visit on the market and you get Quad Core CPU from 10,000. The market has this type of CPU. Single and Dual-Core CPU Not Desing by any company in 2020. Those types of the CPU market gone now


Types of CPU
  1. Singl-Core CPU has one core only
  2. Dual-Core CPU has two core
  3. Quad-Core CPU has Two and more Core



Thank you so much for reading this article. If you have any Problem & Suggestion Please Comment because it's very helpful for improving myself