What is Programming ? Full Guide ( Part 1 )
( For Window users )
Technical things are spread everywhere. It has advantages and disadvantages. But all the inventions are not the same. Some of the inventions about technology are useful and can make human’s work. Some of the inventions about technology can cause death of human and may create more problem for humans. So This is a short article in which we explain everything in easy and short wording. We teach you some easier and basic ways to programming at a high level code with examples and much more. So please read the paragraph carefully. We wrote and designed ( compose ) it only for you. So without any wasting of time we started. And Teach you some things about programming.
What is C language?
The C language is a special language that is used to give commands to computers. It is the basic language of the computer ( Such as our basic language is English or Urdu but computers cannot understand this type of language ). C language was made by Dennis Ritchie in 1969 in bell labs. We can say that the c language uses the coder to give commands to the computer.
What is programming, programmers, software ?
Programming is the writing of the code in a special environment, which we can also edit or customize. The programmers are the people that know how to write and execute the C language.In last, Software is a set of instructions given to the computer to perform a specific task.
What is a programming environment ?
Programming environment is a set of tools given in an IDE, which is useful for the programmer. Programming environment is basically software which contain all tools about debug, run or compile that code which is written by compiler.
What is IDE ?
Here is the question: what is ide? The answer is that IDE stands for ( integrated development program ). It is a software that provides the programming environment that facilitates the programmers to facilitate programmers.
Types of IDE?
Visual studio
Dev C++
Code light
Code Block
Notepad ++
Netbeans
Elipse
Java
What is a text editor ?
The text editor is a software that facilitates the programmers to write the computer program in it. It is a software which only works for the writing of program
Types of next editor?
Notepad
Focus writer
What is a compiler ?
Compiler is a software that is responsible for the conversion of the high level c language code into machine. Compute the code of instruction in c language and execute it in binary language such as ( 0,1 ) That is why the compiler works as a contractor between the c language code and machine code.
Structure of c language :
There are some structure of c language.
For Example:
#include <stdio.h> —----------------Header section
Void main(); —------------------------------Main section
{
printf(“ Hello World”) —----------------------------Body section
}
Now this is an example given up side .
In simple Language all of the data. ( For MAC User )
And now let's get started with
the seat programming language before we can start coding and see,
we need to set up our environment. Now I've created this video,
especially for Mac users.So it is best for it you are a Mac user, it's pretty easy. We're going to be using
first of all our terminal, but we're going to have to
install the C compiler. First. You may already have it installed.
I'll show you how to check. And then we're going to be
using as our text editor, visual studio code and it's
C and C plus plus plugin.
Let's get started. Let's see if your computer is set
up to read and compile C code. You need to go into the terminal. If you
don't know how to reach your terminal, the easiest way is to go into
spotlight and type terminal. You're going to run the terminal program, which looks like this in order to
see if you have the C compiler, you can type GCC dash dash version. If you have the C compiler, you should see a similar
message to the one I have here, which indicates the version of
the C language that's installed. Your version number may differ
slightly from mine, and that's okay.that you don't have the GCC compiler.
Installed, you can Google search for instructions
to install the compiler yourself. You also can install it by installing
the X code command line tools, which is Apple's development
environment. Either way. It's pretty easy to get these
installed and start coding. And see, the other recommendation I have
is to install visual studio code. This is a free code editor. That's
available, just Google search, visual studio code and
download it and install it. It's available for Mac PC and even Linux. Once you have the code editor installed, I'd like you to click here on the
left-hand side and the extensions and search for the extension
for C and C plus, plus
The extension looks like
this. And once you have it, you can go ahead and
install it into the editor. It can help you to give you code completion, debugging, and other support for CNC. Plus, plus that's not native to the visual
studio environment in the editor. You're simply going to type
your code in the code window, and you can actually use the
terminal below to execute your code. I'm going to go ahead
and create a new file, and I'm going to save this as a C file. So let's choose file save as, and I already have a folder for my C code. I'm going to call this hello world dot C.
Now I can actually type the
code for my first C program. C is a pretty bare bones language. So we actually have to
include a set of tools for standard input and
output S T D I O dot H. That includes the header for the
standard in and out or input output library. That'll allow us to do
things like print to the screen. C starts executing in a main function. So the way we write that
function is like this int main and then open parentheses. You'll understand more about these
functions a little later in the video, but what this means is this
function returns an integer.
This article is uploaded on ArshamXtarr.blogspot.com. This content is copyright protected. please be carefully. Contact be use. Please do not reupload this content. Thanks for reading this full. please follow to connect with us.

0 Comments