Posts

Showing posts from August, 2019

Interesting Facts about C++.

Image
C++ is an object-oriented language. No. C++ is a multi-paradigm programming language. C++ supports OOP, procedural programming, generic programming, template meta programming and functional programming. It is one of the biggest strengths of C++ that it is a multi-paradigm programming language. Programmers should be free to pick their own programming style, and that style should be fully supported by C++. Why should I define a  class  just to print “Hello world”? This quote by  Bjarne Stroustrup  really makes sense.      “Certainly not every good program is object-oriented, and not every object-oriented program is good.”  image source: Wikipedia  C++ is just an extension to C and is a super set of C. C & C++ both are different programming languages having different rules and standardized by different committees. C & C++ both have diverged since C99. There are many features of C99 and C11 which aren’t offici...

GETTING STARTED WITH C++

Image
                      C++ 1. What is C++?     C++ was developed by Bjarne Stroustrup at Bell labs in 1979,  as an extension to the C language.  C++ is a cross-platformed language that can be used to create high-performance applications.  The language was updated 3 major times in 2011, 2014, and 2017 to C++11, C++14, and C++17 respectively.  2. Why Use C++?     C++ is one of the world's most popular programming languages.  C++ is an object oriented language which gives a clear structure to programs and allows code to be reused.  C++ is portable and can be used to develop applications that can be adapted to multiple platforms.  C++ can be found in today's operating systems, Graphical User Interfaces, and embedded systems.  C++ is fun and easy to learn! To start using C++, you need two things: A text editor, like Notepad, to write C++ code A com...