[C++ Tutorial 2] Multi-Paradigm Programming
Whenever the programmers feel the need to change the basic layout of setting up a program, a new paradigm is introduced. Computer languages can then be classified based on the respective paradigm.
A programming paradigm is nothing but a style of programming. In one paradigm we may concentrate on the logic, in another, we may stress on the structure or procedure of our program.
C++ is a programming language that uses three such paradigms & hence, is said to be a Multi-Paradigm programming language.
A) Generic – We generalize concepts as templates & reuse them in the source code.
B) Imperative – We work with a sequence of commands so as to change the state of the program.
(Procedural Programming is the most common way this can be done. Structural Programming is a subset of Procedural programming)
C) Object-Oriented – We use classes which are blueprints of objects that share common behavior & properties.
(The focus here is on the data & instructions rather than the process).
[Go to Tutorial 3]











Discuss - 7 Comments
[...] is. Most differences between the features of the two languages arise due to the use of different programming paradigms. C breaks down to functions while JAVA breaks down to Objects. C is more procedure-oriented while [...]
[...] Provide return 0 Automatically C follows the procedural programming paradigm while C++ is a multi-paradigmlanguage(procedural as well as object oriented) In case of C, the data is not secured while the [...]
[...] is. Most differences between the features of the two languages arise due to the use of different programming paradigms. C breaks down to functions while JAVA breaks down to Objects. C is more procedure-oriented while [...]
[...] to Tutorial 2) 0 people like this post. Like AKPC_IDS += "347,";Popularity: unranked [?]Submit this to [...]
[...] C follows the procedural programming paradigm while C++ is a multi-paradigm language(procedural as well as object oriented) In case of C, importance is given to the steps or [...]
[...] C follows the procedural programming paradigm while C++ is a multi-paradigm language(procedural as well as object oriented) In case of C, importance is given to the steps or [...]
[...] I pointed out in my previous post, we use classes in Object Oriented Programming(OOP) which are a blueprint of objects that share [...]