cpp features

C++ features

c++ features picture

1) Simple

C++ is a simple language in the sense that it Gives structured approach (to break the any problem into parts), and rich set of library functions, data types etc.

2) Machine Independent or Portable

It is unlike assembly language, and C programs can be executed in different different (many) machines with little bit or no change. but it is not a platform independent

3) Mid-level programming language

C++ is also used for low level language. It is used to develop system applications such as drivers, kernel etc. It also supports low level features and the high level language. That is why it is known as also mid level programming language.

The object oriented features in c++ allow programmers to build large programs with the clarity, extensibility and ease of maintenance, incorporation the spirit and efficiency of c. The addition of new features has transformed c from a language that currently facilitates top down, structure design, to one that provides bottom up, object oriented design

4) Structured programming language

C++ is structure programming language that means that we can break C++ program into number of parts using the functions so it is also easy to understand and modify

5) Rich Library

The C++ provides a number of inbuilt functions(libraries) that makes the development fast

6) Memory Management

It is also support Dynamic memory allocation features. In C++ programming language, we can free or delete allocated memory at any time by calling free() function and allocate memory by using malloc() and calloc()

7) Speed

In the C programming compilation and execution time is fast

8) Pointer

C++ also provides the features of pointer. we can directly communicate(interact) with the memory by using pointers. we can use pointers for structure, memory, function, array etc

9) Recursion

in C++ programming language, we can call function within the same function or other function. it provides code reusability for every function

10) Extensible

c++ programming language is extensible because it can adopt new features

11) Object Oriented

C++ is object oriented(OOPS) language. OOPs(object, class, inheritance etc) makes development and maintenance easier where as in Procedure-oriented programming language it is not easy to manage if code grows as project size grows.

12) Compiler based

C++ is a compiler based programming language, it means without compilation no C++ program can be executed. First we need to compile our program using compiler and then we can execute our program.

  • C++ Dynamic Initialization of Objects
  • C++ Copy Constructor
  • C++ Dynamic Constructor
  • C++ Destructors
  • C++ Exercise
  • C++ Operator Overloading
  • C++ Overloading Unary Operators
  • Const pointer in C
  • Void pointer in c
  • C++ Overloading Binary Operators
  • C++ Overloading Binary Operators Using Friends
  • C++ Manipulation String Using Operators
  • C++ Rules for overloading operators
  • C++ Exercise
  • C++ Basic To class Type
  • C++ Class TO Basic Type
  • C++ One class To another class type
  • C++ Exercise
  • C++ Inheritance introduction
  • C++ Single Inheritance
  • C++ Multiple Inheritance
  • C++ Ambiguity Resolution in inheritance
  • C++ Hierarchical Inheritance
  • C++ Hybrid Inheritance
  • C++ Virtual Base Classes
  • C++ Exercise
  • C++ abstract class
  • C++ nesting of classes
  • C++ Exercise
  • C++ polymorphism
  • C++ Exercise
  • C++ pointers
  • C++ Pointers TO object
  • C++ this pointer
  • C++ Pointer to Derived class
  • C++ Virtual functions
  • C++ Exercise
  • C++ streams
  • C++ unformatted I/O operations
  • C++ Put() and get()
  • C++ getline() and write()
  • C++ Formatted console I/O
  • C++ Manipulators
  • C++ Exercise
  • C++ file handling
  • C++ file stream classes
  • C++ Open and closing file
  • C++ open using constructor
  • C++ open using open()
  • C++ Detecting End of file
  • C++ File modes
  • C++ File pointers and Manipulators
  • C++ Sequential I/O
  • C++ Reading and Writing
  • C++ Updating a File
  • C++ Error handling In File
  • C++ Command Line Arguments
  • C++ Exercise
  • C++ Template introduction
  • C++ Class Templates with multiple Parameters
  • C++ Function templates
  • C++ Function templates with multiple parameters
  • C++ member function Template
  • C++ Exercise
  • C++ Exception handling
  • C++ Basics of Exception Handling
  • C++ Exception Handling Mechanism
  • C++ Throwing Mechanism
  • C++ Catch Mechanism
  • C++ Catch all Exceptions
  • C++ Re-Throwing An Exception
  • C++ Specifying Exceptions
  • C++ Exercise