×
>
<

Aptitude

Introduction to C++

What is C++ ?

C++ is a cross-platform Oject Oriented language that is extremely popular, simple, and flexible to use.

    Featuers of C Progarmming :

  • C is a Middle level language.
  • It is case sensitive.
  • It is easy to extend.
  • Highly portable.
  • It is fast and efficient.
  • It is more widely used language in operating systems and embedded system.
  • It is the simple language.
Uses of C++
uses ....
Father of C++ Progaramming ?

Bjarne Stroustrup is generally considered to be the father of C++.

In 1979, he began developing C++ (initially called "C with Classes").

In his own words, he "invented C++, wrote its early definitions, and produced its first implementation [...] chose and formulated the design criteria for C++, designed all its major facilities, and was responsible for the processing of extension proposals in the C++ standards committee."

C++ was made generally available in 1985.

For non-commercial use, the source code of the compiler and the foundation libraries was the cost of shipping (US$75); this was before Internet access was common. Stroustrup also published a textbook for the language in 1985, The C++ Programming Language.

Freatures of C++ Programming :

Small:-

  • C provide 32 reserved keywords, these keywords provide control to programmer on language. By understanding  the use of keywords we can do programming in C language.
  • C language can easily learn in less time because, C language is small and simple language.
  • This language provide structure approach.
  • In C language there are  various data types and library function provided to solve the problems.

Speed:-

  • The main feature of the C language is Speed because after assembly language C language is considered to be the fastest.
  • The compilation and execution time of the C language is very fast.
  • C language is also known as Low level language.
  • This language is very close to the hardware. 

Modularity:-

  • C is a Modular programming language. In this feature small modules are made to solve any problem and these small module are known as function. By dividing any program in modules, it becomes easy to manage or debug the program.

Case Sensitive:-

  • C is a case sensitive language.
  • In case sensitive programming all letters are different weather they are small and capital variables, which makes it easy for the programmer to create variables in a program.

Middle level language:-

  • This is the main feature in features of C.C language is a middle level language because C language can make high level and low level software.
  • C language is also used in programming of low level language, in which  system applications are created.it also supports the features of high level language, that’s why C language is called a middle level language.

Structured:-

  • C is  a structure programming language. 
  • In this feature small modules are made to solve any problem and these small module are known as function. By dividing any program in modules, it becomes easy to manage or debug the program.

Memory Management:-

  • Memory Management is a good feature in features of C.
  • C language supports the feature of dynamic memory allocation.
  • We can allocate time memory with the help of free() function.

Rich Library:-

  • This is the most important feature in features of C.
  • C language provides various in-built functions, with the help of which we can speed up any program.

Pointer and Recursion:-

  • C language provides Pointer and Recursion feature.we can  directly handle the memory with the help of Pointer.we use pointer for Array,Function,Structures.
  • In C programming, we can call function inside the function.C language provides code re-usability to us.By which we can use the code of any function again.

Extensible:-

  • In the C programming language, you can add your own user defined library and use it. Because the C language is an extensible programming language and we can add new features easily.

Fast:-

  • After assembly language C language is considered to be the fastest.
  • This is also sometimes called low level language.
  • C language is close to the hardware.
  • Processing of applications created in the C language is fast.