![]() An interface describes the behavior or capabilities of a C++ class without committing to a particular implementation of that class.This allows users to treat even very complex types as built-in types. C++ allows you to specify more than one definition for an operator for different types(objects?) which is called operator overloading.The main advantage here is that all kinds of checking can be done by the compiler, and therefore a lot of trivial bugs are caught at a very early stage. For some languages, this means that you as the programmer must specify what type each variable is. Statically Typed − A language is statically typed if the type of a variable is known at compile time. ![]() This makes it very suitable for low-level tasks and very complex projects. Use of pointers and references − C++ supports pointers and references that allow the user to deal directly with the memory and gives all the control to the programmer.Multi-paradigm language − C++ is a language that supports procedural, object-oriented and generic programming.Following are some of the features of C++ that make it stand out among other programming languages − C++ runs on a variety of platforms, such as Windows, Mac OS, and the various versions of UNIX. It is a superset of C, and that virtually any legal C program is a legal C++ program. C++ is regarded as a middle-level language, as it comprises a combination of both high-level and low-level language features.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |