C and C++ programming language
Introduction to C Language
- Today, we are working on computer or mobile in the software or application, language is behind all this and in these languages, C language occupies an important place. Many language, operating system, games have been created by C language. Before introducing C Language, we need to know about the language.
What is a language?
- Language is the medium of communication between two or more persons. Through language, a person can exchange ideas among themselves. A computer is an electronic machine that has no language of its own. The computer required a language to follow our instructions, so a language was created on the basis of the electrical value in the computer. There are generally three types of computer language.
- Low-level language
- Assembly language
- High-level language
Low-Level Language: This language is also called machine language, only 0,1 or binary code is used in this language. This language requires hardware information. Programs made in this language take a lot of time to rectify errors and programs made in it are very complex.
Assembly Language: In this language, programs are made with common English words, this language is relatively simple in the Machine language and to make programs in this language it is necessary to have knowledge of the entire hardware.
High-Level Language: In this language, programs are made with common words or English words coming in the environment, these programs are very simple which even a normal person who knows computer can make. With this, there are programs that do the work of converting code written in English into machine language code. These programs are of two types.
Interpreter: It converts the code written in the program into machine language in a single line. If an error occurs in a line then it does not run the next line codes.
Compiler: The compiler works to convert all the code written in the program into machine language in one go and displays the error in the list according to the line when the error occurs.
History of "C" Language
C salient features of language
- Structured Programming Language -In order to solve a big problem in this language, it is divided into small parts. These small parts are called modules. Hence 'C' is a structural programming language.
- Procedural language: The language in which statements are written according to rules and order, is called procedural language. Instructions or statements in the 'C' language are executed in the order in which they are executed. Hence "C" is a procedural language.
4. Middle Level Language -The 'C' language includes the qualities of both high level and low level languages. Because this language is in the middle of two categories, it is also called middle level language.
5. Case Sensitive Language- In this language, there is a difference between lower case and upper case letters used in developing programs. Both types of letters are used depending on the need of the program, in which the statements used to create each program are usually written in lowercase letters.
6 .Abbreviations' Program abbreviations written in C language. They are simple and have high performance. Those can be easily understood. They are also easy to test and maintain.
7 High Level Language- A program written in this language is based on the user's problem. Many functions can be used in the program to solve the problem of the user and the speed of the program designed is also relatively faster. Apart from this, the programmer can create new functions as per his requirement.
C ++ Programming - Introduction and History of C ++
- History of C ++
The creation of C ++ Programming Language started in 1979. In C Programming itself, the concept of 'C with Classes' came into being.
Bjarne Stroustrup invented C ++ Programming at AT & T's Bell Labs in 1983 by creating many more concepts with 'C with Classes'.
Bjarne Stroustrup invented C ++ Programming at AT & T's Bell Labs in 1983 by creating many more concepts with 'C with Classes'.
Introduction of C ++
C ++ programming language has many features with the OOps concept.
- Inheritance
- Polymorphism
- Abstraction
- Encapsulation
C ++ Programming is run on Windows, Linux, Mac OS or operating system.
Uses of C ++
2. Along with computer software, it is also used for Drivers, computer hardware Servers.
difference between C and C++ language
Comments
Post a Comment
please leave your priceless comments thank you.