Computer Science, asked by shuklaadarsh733, 1 year ago

what is c++?
in computer science

Answers

Answered by kvnmurty
2
C++ is a programming language. It is a high level programming language.

It can be used to learn the computer science concepts like : procedural programming, formal parameter passing mechanisms, structured programming, object oriented programming concepts.

One can learn Objects- instantiation, classes, methods, data protection mechanisms using public, private properties etc.

Concepts like inheritance,  interface are demonstrated. In real world C++ is used to provide solutions to customer needs.


Answered by AvmnuSng
1
Object Oriented Programming is a software programming model that defines Objects related to any specific problem and then describes the Data Fields and Behaviors of Objects using Classes and Methods. OOP has three features namely known as
(1) Inheritance
(2) Abstraction
(3) Encapsulation


C++ (pronounced as C-Plus-Plus) is an OOP language and considered as Intermediate Level Language, because C++ encapsulates the features of High Level Languages and Low Level Languages. This language was developed by Bjarne Stroustrup and it was an extension to C Programming Language. Initially the language was called C-with-Classes and in 1983 it was renamed to C++. The reason behind calling it C-with-Classes was that It has all the features of C Language and addition feature of Classes.

The one nice extension in C++ is Pass by Reference, And the syntax can be following-
Return_Type Function_Name(Data_Type1 &Var1, Data_Type2 &Var2, ...) {
........Fucntion_Body
}
And then it can be called by
Function_Name(Var1, Var2)

It's amazing :)

There are many features like Operator Overloading, Templates, Namespaces, Friend & Virtual Methods and predefined library of Data Structures and Algorithms defined as STL (Standard Template Library). Time to time extensions made to features and some new features also added to C++. So we have several standard of C++.
(1) C++ : 1990 Annotated Reference Manual Published
(2) C++98 : 1998 First International Reference Manual Published
(3) C++03 : Earlier 2003
(4) C++0x : Earlier 2005
(5) C++11 : Mid 2011
(6) C++14 : Later 2013

This is enough for the introduction.
Similar questions