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

     Programs made in the Assembly Language before the History of   "C" Language: C language were not portable. Keeping this deficiency in mind, a programming language that was portable was required. In 1960, Cambridge University developed a programming language called BCPL (Basic Combind Programming Language). In 1970, Kan Thompson made some improvements in this language and named it "B" Language. C language was developed by American computer scientist Denish Richi in the AT&T Laboratory in 1972. C language is a very powerful language in which both programs of the system and application software can be made. In this language, English words used in common language are used, so this language is easy to learn and understand. This language is a structural programming language, meaning that the programs created in it run in a certain sequence.
  •  C salient features of language

  1.  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. 
  2.  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.
   3. Portable Language -The 'C' language is a transferable language. That is, a program written for one computer in this language runs on another computer without any change or some change. Therefore, 'C' is a highly transferable 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'.
  • Introduction of C ++

 C ++ Programming Language This is OOP (Object-Oriented Programming) Language.
    C ++ programming language has many features with the OOps concept.

  •         Inheritance
  •         Polymorphism
  •         Abstraction
  •         Encapsulation
    C ++ Programming Language This is Middle Level Language.
    C ++ Programming is run on Windows, Linux, Mac OS or    operating system.


  • Uses of C ++

1. C ++ Programming Language is used to create Computer Softwares.
 2. Along with computer software, it is also used for Drivers, computer hardware  Servers.

  • difference between C and C++ language 

C and  C++ programming language

Comments

Popular posts from this blog

peripheral devices.

computer system and it's main component .

Deadlock in os