मराठी
Tamil Nadu Board of Secondary EducationHSC Science Class 11

Introduction to C++

Advertisements
Maharashtra State Board: Class 11

Introduction to C++

1) C++ was developed by Bjarne Stroustrup at Bell Labs in the early 1980s. Due to certain problems, it was becoming too difficult to code, maintain, and extend C by adding object-oriented programming (OOP) features. C++ is a superset of C and retains all of C’s features.
2) Influenced by languages like Simula67 (for classes and inheritance) and Algol68 (for operator overloading).
3) Object - Oriented Features such as :

  • Classes and Inheritance
  • Virtual functions 
  • Operator and Function Overloading 
  • OOP is an approach to program and development it emphasis on data rather than procedure 
  • Programs are divided into objects and it follows bottom up approach in designing 
  • Enables development of GUI-based software (e.g., menus, windows). 
  • It supports code reusability, maintainability, and expandability, and it is fast and efficient, which contributed to its popularity.

4) Editors, Compilers, databases, Communication Systems, and any real life complex system can be developed in C++
5) Turbo C++ and Borland C++ offer IDEs with menus for file management, editing, compiling, and running. Programs are written in text editors (e.g., vi, ed, EDLIN). Requires a compiler to convert source code to machine code (object code).
6) Compilation helps identify syntactic errors. C++ programs are typically saved with a .cpp extension.

Advertisements
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×