LearningLad
How to Install C C++ Compiler / Tool set ( gcc g++ gdb Mingw w64 ) Easily in Windows 11 Computer
updated
Our Website
https://www.LearningLad.com
Social Media
Facebook facebook.com/LearningLad
Twitter twitter.com/LearningLadEdu
Instagram instagram.com/LearningLadOfficial
Our Website
https://www.LearningLad.com
Social Media
Facebook facebook.com/LearningLad
Twitter twitter.com/LearningLadEdu
Instagram instagram.com/LearningLadOfficial
Our Website
https://www.LearningLad.com
Social Media
Facebook facebook.com/LearningLad
Twitter twitter.com/LearningLadEdu
Instagram instagram.com/LearningLadOfficial
Our Website
https://www.LearningLad.com
Social Media
Facebook facebook.com/LearningLad
Twitter twitter.com/LearningLadEdu
Instagram instagram.com/LearningLadOfficial
Our Website
https://www.LearningLad.com
Social Media
Facebook facebook.com/LearningLad
Twitter twitter.com/LearningLadEdu
Instagram instagram.com/LearningLadOfficial
Our Website
https://www.LearningLad.com
Social Media
Facebook facebook.com/LearningLad
Twitter twitter.com/LearningLadEdu
Instagram instagram.com/LearningLadOfficial
While installing, we will make sure that the installer adds Python installation location to Path Environment Variable by checking App Python.exe to Path option.
Our Website
https://www.LearningLad.com
Social Media
Facebook facebook.com/LearningLad
Twitter twitter.com/LearningLadEdu
Instagram instagram.com/LearningLadOfficial
How to Download and Install Latest Version of Python in your Laptop or Computer
youtu.be/--i3Bwd8G20
Our Website
https://www.LearningLad.com
Social Media
Facebook facebook.com/LearningLad
Twitter twitter.com/LearningLadEdu
Instagram instagram.com/LearningLadOfficial
Our Website
https://www.LearningLad.com
Social Media
Facebook facebook.com/LearningLad
Twitter twitter.com/LearningLadEdu
Instagram instagram.com/LearningLadOfficial
We visit the official website of python, download and install the latest version of Python 3
Our Website
https://www.LearningLad.com
Social Media
Facebook facebook.com/LearningLad
Twitter twitter.com/LearningLadEdu
Instagram instagram.com/LearningLadOfficial
You will learn how to breakdown the pattern to smaller pieces, How to construct the logic and learn to write the program in C language.
After that we will make modifications to this program to print different patterns.
Our Website
https://www.LearningLad.com
Social Media
Facebook facebook.com/LearningLad
Twitter twitter.com/LearningLadEdu
Instagram instagram.com/LearningLadOfficial
This video is well suited for the beginners.
The Calculator programming created here will first display the menu option to the user.
user can select the operation that he wants to perform.
( Addition, Subtraction, Multiplication, Division)
Then we take two numbers as input from the user
and then we display the result.
Our Website
https://www.LearningLad.com
Social Media
Facebook facebook.com/LearningLad
Twitter twitter.com/LearningLadEdu
Instagram instagram.com/LearningLadOfficial
Both Windows 10 and iPad / iPhone with iOS / iPad OS have a feature called as SMB ( Server Message Block ) which supports file transfer in the same network.
Our Website
https://www.LearningLad.com
Social Media
Facebook facebook.com/LearningLad
Twitter twitter.com/LearningLadEdu
Instagram instagram.com/LearningLadOfficial
After installing C++ toolset ( mingw oin windows is used here ) we need to set the path environment variable.
After that we need to open the command prompt and use the command
g++ program.c
this will generate the executable from the program.
we can use a.out and run the program.
We can also give name for the executable generated by using
g++ -o program.exe program.c
Our Website
https://www.LearningLad.com
Social Media
Facebook facebook.com/LearningLad
Twitter twitter.com/LearningLadEdu
Instagram instagram.com/LearningLadOfficial
Our Website
https://www.LearningLad.com
Social Media
Facebook facebook.com/LearningLad
Twitter twitter.com/LearningLadEdu
Instagram instagram.com/LearningLadOfficial
00:00 Introduction
00:36 Check g++ and gdb are installed
01:44 Set up Visual Studio Code Work Space
04:58 Installing C/C++ Extension in VS Code
06:17 Configure C/C++ Properties
08:18 Set up Build Task and Run Program
13:27 Configure Task to Build and Run Executable File
24:04 Set up Vs code for debugging
26:46 Debug Cpp Program using a Break Point
Visual Studio Code is the widely used editor in Computer Programming field.
It is the best editor for a beginner in programming because it is simple, easy to set up and has all those features needed.
First you need to Download and Install C Cpp toolset ( Compiler , linker etc ) like mingw-w64. After that you need to install Visual Studio Code.
Download and Install gcc using Mingw-w64 and msys2
youtu.be/0HD0pqVtsmw
Download and Install Visual Studio Code
youtu.be/JGsyJI8XG0Y
Our Website
https://www.LearningLad.com
Social Media
Facebook facebook.com/LearningLad
Twitter twitter.com/LearningLadEdu
Instagram instagram.com/LearningLadOfficial
00:00 Introduction
00:51 Check gcc and gdb are installed
02:02 Set up Visual Studio Code Work Space
05:12 Installing C/C++ Extension in VS Code
06:30 Set up Build Task and Run Program
11:51 Configure Task to Build and Run Executable File
19:33 Set up Vs code for debugging
21:33 Debug C Program using a Break Point
23:49 Configure C/C++ Properties
Visual Studio Code is the widely used editor in Computer Programming field.
It is the best editor for a beginner in programming because it is simple, easy to set up and has all those features needed.
First you need to Download and Install C C++ toolset ( Compiler , linker etc ) like mingw-w64. After that you need to install Visual Studio Code.
Download and Install gcc using Mingw-w64 and msys2
youtu.be/0HD0pqVtsmw
Download and Install Visual Studio Code
youtu.be/JGsyJI8XG0Y
Our Website
https://www.LearningLad.com
Social Media
Facebook facebook.com/LearningLad
Twitter twitter.com/LearningLadEdu
Instagram instagram.com/LearningLadOfficial
Topics :
00:00 Introduction and Downloading Msys2
03:12 Installing Mysys2 Updating Packages
07:35 Installing gcc and g++
12:14 Installing gdb debugger
16:00 Setting up Path Environment Variable
18:48 Check gcc g+= and gdb version in cmd
First we will download and install msys2.
After that we use the series of commands to install packages and update system.
Commands used :
Update the package database and base packages using
pacman -Syu
Update rest of the base packages
pacman -Su
Now open up the Msys MinGW terminal
To install gcc and g++ for C and C++
For 64 bit
pacman -S mingw-w64-x86_64-gcc
For 32 bit
pacman -S mingw-w64-i686-gcc
To install the debugger ( gdb ) for C and C++
For 64 bit
pacman -S mingw-w64-x86_64-gdb
For 32 bit
pacman -S mingw-w64-i686-gdb
To check
gcc version : gcc --version
g++ version : g++ --version
gdb version : gdb --version
After installing these programs, we need to set the Path environment variable.
Our Website
https://www.LearningLad.com
Social Media
Facebook facebook.com/LearningLad
Twitter twitter.com/LearningLadEdu
Instagram instagram.com/LearningLadOfficial
We can use Python command prompt and idle interactive interface or we can write the program in a simple text editor like notepad and execute the program using cmd.
We also can use IDLE to write the program, save it as a file and run it.
Download and install Python in Windows 10
youtu.be/82le04m6Hhs
Our Website
https://www.LearningLad.com
Social Media
Facebook facebook.com/LearningLad
Twitter twitter.com/LearningLadEdu
Instagram instagram.com/LearningLadOfficial
Here i'm using Manjaro Linux but the process will be same for all Linux distro.
How to install go language in Manjaro Linux using pacman
youtu.be/F1k3_AOfMJM
First we use a simple text editor and write the program.
After that we build the program and generate the executable file using
go build filename.go
to run the executable file use the command
./filename
to give a custom name for the executable file use
go build -o customname filename.go
to run the go program without generating the executable file use the command
go run filename.go
Our Website
https://www.LearningLad.com
Social Media
Facebook facebook.com/LearningLad
Twitter twitter.com/LearningLadEdu
Instagram instagram.com/LearningLadOfficial
First we make sure that our computer system is up to date by using the command
sudo pacman -Syu
Then we download and install go language by using the command
sudo pacman -S go
After that we make sure that installation was successful by using the command
go version
which will display the version of go installed.
Our Website
https://www.LearningLad.com
Social Media
Facebook facebook.com/LearningLad
Twitter twitter.com/LearningLadEdu
Instagram instagram.com/LearningLadOfficial
When we install we have an option to set the path. but by default this option is not selected.
Here first we need to find the location / folder here Python is installed and then we have to add that to Path in System variables section.
Every step is explained in detail in this video.
Our Website
https://www.LearningLad.com
Social Media
Facebook facebook.com/LearningLad
Twitter twitter.com/LearningLadEdu
Instagram instagram.com/LearningLadOfficial
The factorial of a positive integer n, which is denoted as n!, is the product of all positive integers less than or equal to n.
That is n! = n * (n-1)*(n-2)*....*3*2*1
So 4! = 4 * 3 * 2 * 1 which is equal to 24.
Factorial for the numbers 0 and 1 is 1. That is 0! = 1 and 1! = 1.
For negative numbers factorial value doesn't exists.
Our Website
https://www.LearningLad.com
Social Media
Facebook facebook.com/LearningLad
Twitter twitter.com/LearningLadEdu
Instagram instagram.com/LearningLadOfficial
You will learn how to breakdown the pattern to smaller pieces, How to construct the logic and learn to write the program in C language.
After that we will make modifications to this program to print different patterns.Our Website
https://www.LearningLad.com
Social Media
Facebook facebook.com/LearningLad
Twitter twitter.com/LearningLadEdu
Instagram instagram.com/LearningLadOfficial
You will learn how to breakdown the problem to smaller pieces, How to construct the logic and learn to write the program in C language.
Our Website
https://www.LearningLad.com
Social Media
Facebook facebook.com/LearningLad
Twitter twitter.com/LearningLadEdu
Instagram instagram.com/LearningLadOfficial
You will learn how to breakdown the problem to smaller pieces, How to construct the logic and learn to write the program in Python language.
After that we will make modifications to this program to print different patterns.
Our Website
https://www.LearningLad.com
Social Media
Facebook facebook.com/LearningLad
Twitter twitter.com/LearningLadEdu
Instagram instagram.com/LearningLadOfficial
#PythonPatternPrograms Learn#WithMe #PythonProgramming
You will learn the Programming Logic behind the creation of this Pattern and also the step by step process of writing the source code using Python Language.
Our Website
https://www.LearningLad.com
Social Media
Facebook facebook.com/LearningLad
Twitter twitter.com/LearningLadEdu
Instagram instagram.com/LearningLadOfficial
Topics Covered
0:0 Program to Print Fibonacci Series
10:05 C Program to Find the Factorial of a Number using Iterative Process
17:25 Find the Factorial of a Number using Recursion
25:42 Program to Check for Prime or Composite Number
37:17 C Program to Find All Divisors of a Number
44:22 Convert Distance from kilometre to mile
47:57 Sum of All Digits of a Number
56:54 Program to reverse a Number
01:07:11 Program to Check Eligibility for Marriage
01:18:55 C Example Program to Convert Temperature from Celsius to Fahrenheit
Our Website
https://www.LearningLad.com
Social Media
Facebook facebook.com/LearningLad
Twitter twitter.com/LearningLadEdu
Instagram instagram.com/LearningLadOfficial
Topics Covered
0:0 : Program to Check for Prime or Composite Number
15:10 Program to Find Factorial of a Number using Iterative Method
23:05 Factorial Program using Recursion
30:30 Program to Print Fibonacci Series
39:38 Program to reverse a Number
51:19 Find All Divisors of a Natural Number
58:15 Sum of All Digits of a Number
Our Website
https://www.LearningLad.com
Social Media
Facebook facebook.com/LearningLad
twitter twitter.com/LearningLadEdu
Instagram instagram.com/LearningLadOfficial
A Structure is a collection of related information / variables of different types under one name. Self Referential structures are those structures that have one or more pointers which point to the same type of structure, as their member.
We ca use them to form the data structures like linked list etc.
Our Website
http://www.LearningLad.com
Social Media
Facebook facebook.com/LearningLad
twitter twitter.com/LearningLadEdu
Instagram instagram.com/LearningLadOfficial
A Structure is a collection of similar elements. While defining a Structure, we can declare a Structure Variable and Pointer as its member.
This will allow us to create complex data types according to the requirements of our program.
Having a Structure Variable or a Pointer as the member of a Structure definition is called Nested Structure.
We can use the Structure Member and Structure Pointer operators to access the members of the nested structure.
Our Website
http://www.LearningLad.com
Social Media
Facebook facebook.com/LearningLad
twitter twitter.com/LearningLadEdu
Instagram instagram.com/LearningLadOfficial
A Structure is a collection of similar elements. While defining a Structure, we can declare a Structure variable as its member.
This will allow us to create complex data types according to the requirements of our program.
Having a Structure Variable as the member of a Structure definition is called Nested Structure.
We can use the Structure Member and Structure Pointer operators to access the members of the nested structure.
Our Website
http://www.LearningLad.com
Social Media
Facebook facebook.com/LearningLad
twitter twitter.com/LearningLadEdu
Instagram instagram.com/LearningLadOfficial
Just like the way a Pointer contains the address of another variable, a Structure Pointer can contain the address of another structure variable.
we can get the address using the & ( address of operator ).
To access the members of a structure variable using the structure pointer we use the arrow operator. It is also called as structure pointer operator.
Our Website
http://www.LearningLad.com
Social Media
Facebook facebook.com/LearningLad
twitter twitter.com/LearningLadEdu
Instagram instagram.com/LearningLadOfficial
After that we can create the variables from the structure that we have defined.
To access the members of a structure using structure variable we use . ( dot operator ) also called as structure member operator.
When we define a structure without any name we call it as Anonymous structure. if you define an anonymous structure then you have to create the variables while defining the structure.
A Structure is a collection of related variables under one name. When we define a structure in our C Program, we get a new datatype which can contain variables of different datatypes.
Structures are called as derived datatypes because they are created by using other types available in the language.
To define a structure we use the keyword struct.
The syntax is as follows.
struct structure_tag{
structure member1;
structure member2;
....
};
Our Website
http://www.LearningLad.com
Social Media
Facebook facebook.com/LearningLad
twitter twitter.com/LearningLadEdu
Instagram instagram.com/LearningLadOfficial
A Structure is a collection of related variables under one name. When we define a structure in our C Program, we get a new datatype which can contain variables of different datatypes.
Structures are called as derived datatypes because they are created by using other types available in the language.
To define a structure we use the keyword struct.
The syntax is as follows.
struct structure_tag{
structure member1;
structure member2;
....
};
After that we can create the variables from the structure that we have defined.
To access the members of a structure using structure variable we use . ( dot operator ) also called as structure member operator.
We can declare structure variables while defining the structure also. Then we can define variables separately and we can initialise them also.
While initialising the variable we can provide the values for the structure members using . and : operator.
Our Website
http://www.LearningLad.com
Social Media
Facebook facebook.com/LearningLad
twitter twitter.com/LearningLadEdu
Instagram instagram.com/LearningLadOfficial
A Structure is a collection of related variables under one name. When we define a structure in our C Program, we get a new datatype which can contain variables of different datatypes.
Structures are called as derived datatypes because they are created by using other types available in the language.
To define a structure we use the keyword struct.
The syntax is as follows.
struct structure_tag{
structure member1;
structure member2;
....
};
After that we can create the variables from the structure that we have defined.
To access the members of a structure using structure variable we use . ( dot operator ) also called as structure member operator.
Our Website
http://www.LearningLad.com
Social Media
Facebook facebook.com/LearningLad
twitter twitter.com/LearningLadEdu
Instagram instagram.com/LearningLadOfficial
Depending on the number the user will enter the program will display the appropriate message.
In c language rand function is used for getting random numbers. To make sure that we get different sequence of random numbers for separate runs, we use srand function and pass the system time in seconds using time function.
To use rand and srand functions, we need to include stdlib header file and for getting time using time function we need to include time.h header file.
How to generate Random Numbers in C Language
youtu.be/oXEDMNXzuo4
Generate Random Numbers between a range of numbers
youtu.be/ZaZxHzRn-AY
For more tutorials visit our website
http://www.LearningLad.com
LearningLad in social media
Facebook facebook.com/LearningLad
twitter twitter.com/LearningLadEdu
Instagram instagram.com/LearningLadOfficial
In c language rand function is used for getting random numbers. To make sure that we get different sequence of random numbers for separate runs, we use srand function and pass the system time in seconds using time function.
To use rand and srand functions, we need to include stdlib header file and for getting time using time function we need to include time.h header file.
How to generate Random Numbers in C Language
youtu.be/oXEDMNXzuo4
For more tutorials visit our website
http://www.LearningLad.com
LearningLad in social media
Facebook facebook.com/LearningLad
twitter twitter.com/LearningLadEdu
Instagram instagram.com/LearningLadOfficial
In c language rand function is used for getting random numbers. To make sure that we get different sequence of random numbers for separate runs, we use srand function and pass the system time in seconds using time function.
To use rand and srand functions, we need to include stdlib header file and for getting time using time function we need to include time.h header file.
C Program to generate Random Numbers between a Range of Values
youtu.be/ZaZxHzRn-AY
For more tutorials visit our website
http://www.LearningLad.com
LearningLad in social media
Facebook facebook.com/LearningLad
twitter twitter.com/LearningLadEdu
Instagram instagram.com/LearningLadOfficial
Visual Studio Code is the widely used editor in Computer Programming field.
It is the best editor for a beginner in programming because it is simple, easy to set up and has all those features needed.
We need to install the Python Extension for the language support.
Install the latest version of Python in your computer.
youtu.be/82le04m6Hhs
Download and install Visual Studio Code.
youtu.be/JGsyJI8XG0Y
For more tutorials visit our website
http://www.LearningLad.com
LearningLad in social media
Facebook facebook.com/LearningLad
twitter twitter.com/LearningLadEdu
Instagram instagram.com/LearningLadOfficial
NumPy adds support for large, multi-dimensional arrays and matrices, along with a large collection of high-level mathematical functions to operate on these arrays.
scipy is used for scientific computing and technical computing. SciPy contains modules for optimisation, linear algebra, integration, interpolation, special functions, signal and image processing, ODE solvers and other tasks common in science and engineering.
Pandas is used for data manipulation and analysis.
Matplotlib is a plotting library for the Python programming language and its numerical mathematics extension NumPy. It provides an object-oriented API for embedding plots into applications using general-purpose GUI toolkits like Tkinter, wxPython, Qt, or GTK+.
For more tutorials visit our website
http://www.LearningLad.com
LearningLad in social media
Facebook facebook.com/LearningLad
twitter twitter.com/LearningLadEdu
Instagram instagram.com/LearningLadOfficial
Code blocks is an open source, free IDE available for all platforms ( windows, Linux, mac ).
mingw stands for minimalist GNU for Windows and it is a minimalist development environment for native Microsoft Windows applications and it comes with GNU tool chain, which comes to the GCC, the GNU compiler collection which supports languages like 'C' 'C plus plus' 'ada' 'fortran' etc.
For more tutorials visit our website
http://www.LearningLad.com
LearningLad in social media
Facebook facebook.com/LearningLad
twitter twitter.com/LearningLadEdu
Instagram instagram.com/LearningLadOfficial
Installation of python in windows laptop or computer is very easy.
First we visit the official website of python and download the installer.
After that we run the set up file, install it and set up the Path Environment variable.
Our website
http://www.LearningLad.com
Watch Video tutorials in Hindi at @LearningLadHindi
Other Social Media Pages
facebook.com/LearningLad
instagram.com/LearningLadOfficial
twitter.com/LearningLadEdu
This video is well suited for the beginners.
The Calculator programming created here will first display the menu option to the user.
user can select the operation that he wants to perform.
( Addition, Subtraction, Multiplication, Division)
Then we take two numbers as input from the user
and then we display the result.
Our website
http://www.LearningLad.com
Watch Video tutorials in Hindi at @LearningLad Hindi
Other Social Media Pages of LearningLad
facebook.com/LearningLad
instagram.com/LearningLadOfficial
twitter.com/LearningLadEdu
This video is well suited for the beginners.
The Calculator programming created here will first display the menu option to the user.
user can select the operation that he wants to perform.
( Addition, Subtraction, Multiplication, Division)
Then we take two numbers as input from the user
and then we display the result.
Our website
http://www.LearningLad.com
Watch Video tutorials in Hindi at @LearningLad Hindi
Other Social Media Pages of LearningLad
facebook.com/LearningLad
instagram.com/LearningLadOfficial
twitter.com/LearningLadEdu
This video is well suited for the beginners.
The Calculator programming created here will first display the menu option to the user.
user can select the operator that he wants to perform.
( Addition, Subtraction, Multiplication, Division)
Then we take two numbers as input from the user
and then we display the result.
Our website
http://www.LearningLad.com
Watch Video tutorials in Hindi at @LearningLadHindi
Other Social Media Pages of LearningLad
facebook.com/LearningLad
instagram.com/LearningLadOfficial
twitter.com/LearningLadEdu
This video is well suited for the beginners.
The Calculator programming created here will first display the menu option to the user.
user can select the operation that he wants to perform.
( Addition, Subtraction, Multiplication, Division)
Then we take two numbers as input from the user
and then we display the result.
Our website
http://www.LearningLad.com
Watch Video tutorials in Hindi at @LearningLadHindi
Other Social Media Pages of LearningLad
facebook.com/LearningLad
instagram.com/LearningLadOfficial
twitter.com/LearningLadEdu
Our website
http://www.LearningLad.com
Watch Video tutorials in Hindi at @LearningLadHindi
Other Social Media Pages of LearningLad
facebook.com/LearningLad
instagram.com/LearningLadOfficial
twitter.com/LearningLadEdu
Get the source code for our tutorials at our website
http://www.LearningLad.com
Watch Video tutorials in HINDI at
@LearningLadHindi
Other Social Media Pages of LearningLad
facebook.com/LearningLad
instagram.com/LearningLadOfficial
twitter.com/LearningLadEdu
Visual Studio Code is the widely used editor in Computer Programming field.
It is the best editor for a beginner in programming because it is simple, easy to set up and has all those features needed.
First you need to Download and Install C C++ toolset ( Compiler , linker etc ) like mingw. After that you need to install Visual Studio Code. After that you need to install a couple of extensions to run C and Cpp Programs.
Download and Install Mingw
youtu.be/0HD0pqVtsmw
Download and Install Visual Studio Code
youtu.be/JGsyJI8XG0Y
Setup Visual Studio code for Python Programming
youtu.be/Ezye7n-F0LM
Visit https://www.LearningLad.com for more free computer programming video tutorials.
Other pages of LearningLad
facebook.com/LearningLad
instagram.com/LearningLadOfficial
twitter.com/LearningLadEdu


