Ads by Google

Breaking

Thứ Sáu, 19 tháng 10, 2018

Learn C Programming easy and free. What is C Programming Language.

Learn C Programming easy and free. What is C Programming Language.C is a programming language. Bell Labs worked in Dennis Ritchie in the 1970s. The first purpose of creating languages ​​was to use the Unix-operating system code, but it soon became a widely used language. Many programming languages, including C ++ and Java, have had a profound impact. C is the most interesting aspect of its portability. C program can run on any operating system computer. Many of its versions were created with the rise of C's popularity in the '80s of the 70's. In 1983, six years after the American Managing Director Si formed a committee to produce the first version of C., the standard C language was created in 1989, known as the American Regulatory Agency C (ANSI C). Later, the International Standards Organization adopted this standard version of C in 1990, which is known as the C90. The latest version of C programming program C is published in 2011.   The original version of the C programming program, Brian Kennington and Dennis Ritchie; This book was considered a non-standard version of the language for a long time.   In the 1960s, several computer programming languages ​​were created. American computer guru, Grace Hopper, created three programming languages, which are called Mathematics, Flomatics and A2. Then James Bachet created forTran. Then the programming language of Algol, Cobb, Add etc. was discovered. Basically these languages ​​predecessor of modern programming languages. But those languages ​​are used for different purposes. So computer scientists are thinking about programming programming that will make all types of software possible. As a result, scientists created the Algorols 60 (Algorithm Language) and then the associated programming language (CPL), but it was very difficult to learn and use the CPL. So it does not get popularity.  Basic Combined Programming Language (BCPL) was created in 1967 by Martin Richard Cpl of Cambridge University, but it was originally less powerful and common programming language.  During this time, Thomson created a programming language named B (B) in the US Belle Laboratory; This was an improved version of the previous BCPL. Dennis Ritchi then followed B and BCPL and created some techniques using "C" (C).    the example code  C programming language Example: Hello World is a common programming code that is written by all programmers while writing programming code.  In the part of this code, when the "function" name is loaded, the Hello World text will appear in a line:  Chief () { printf ("hello world \ n"); } Ideal example of C programming code  #Include <stdio.h> int main (void) { printf ("hello world \ n"); Back 0; } Here we are asked to read the header file named compiler # stdio.h, by typing # stdio.h>. Int main (void) means the main function integer (mathematical integer). Due to invalid writing, there is no input in the original function. printf ("hello world \ n") printf here is a function whose description is written in the stdio.h header file. Generally, string data is used to make the computer visible through printf. I mean hello world text will be visible on the computer screen. Edit the information type The information in C is basically three types  User defined information type Built-in or built-in data type Generated information type Built-in data type editing Types of data defined by ANSI, type of built-in data type or type of information required.  The built-in information is usually of 4 types  Character type data - Character type data is usually used to declare any data used in letters or strings. Character type data occupies the space of 1 byte. 'Four' keywords are declared as a database of a database, such as char abc; Four xya; '% C' is used as the formatting specifier. Integra type data - This data type is used to declare an integer data. The data type occupies 2 bytes.


C is a programming language. Bell Labs worked in Dennis Ritchie in the 1970s. The first purpose of creating languages ​​
was to use the Unix-operating system code, but it soon became a widely used language. Many programming languages, including C ++ and Java, have had a profound impact. C is the most interesting aspect of its portability. C program can run on any operating system computer. Many of its versions were created with the rise of C's popularity in the '80s of the 70's. In 1983, six years after the American Managing Director Si formed a committee to produce the first version of C., the standard C language was created in 1989, known as the American Regulatory Agency C (ANSI C). Later, the International Standards Organization adopted this standard version of C in 1990, which is known as the C90. The latest version of C programming program C is published in 2011.


The original version of the C programming program, Brian Kennington and Dennis Ritchie; This book was considered a non-standard version of the language for a long time.


In the 1960s, several computer programming languages ​​were created. American computer guru, Grace Hopper, created three programming languages, which are called Mathematics, Flomatics and A2. Then James Bachet created forTran. Then the programming language of Algol, Cobb, Add etc. was discovered. Basically these languages ​​predecessor of modern programming languages. But those languages ​​are used for different purposes. So computer scientists are thinking about programming programming that will make all types of software possible. As a result, scientists created the Algorols 60 (Algorithm Language) and then the associated programming language (CPL), but it was very difficult to learn and use the CPL. So it does not get popularity.

Basic Combined Programming Language (BCPL) was created in 1967 by Martin Richard Cpl of Cambridge University, but it was originally less powerful and common programming language.

During this time, Thomson created a programming language named B (B) in the US Belle Laboratory; This was an improved version of the previous BCPL. Dennis Ritchi then followed B and BCPL and created some techniques using "C" (C).


the example code

C programming language Example: Hello World is a common programming code that is written by all programmers while writing programming code.

In the part of this code, when the "function" name is loaded, the Hello World text will appear in a line:

Chief ()
{
printf ("hello world \ n");
}
Ideal example of C programming code

#Include <stdio.h>
int main (void)
{
printf ("hello world \ n");
Back 0;
}
Here we are asked to read the header file named compiler # stdio.h, by typing # stdio.h>.
Int main (void) means the main function integer (mathematical integer). Due to invalid writing, there is no input in the original function.
printf ("hello world \ n") printf here is a function whose description is written in the stdio.h header file. Generally, string data is used to make the computer visible through printf. I mean hello world text will be visible on the computer screen.
Edit the information type
The information in C is basically three types

User defined information type
Built-in or built-in data type
Generated information type
Built-in data type editing
Types of data defined by ANSI, type of built-in data type or type of information required.

The built-in information is usually of 4 types

Character type data - Character type data is usually used to declare any data used in letters or strings. Character type data occupies the space of 1 byte. 'Four' keywords are declared as a database of a database, such as char abc; Four xya; '% C' is used as the formatting specifier.
Integra type data - This data type is used to declare an integer data. The data type occupies 2 bytes.

Không có nhận xét nào:

Đăng nhận xét