Wednesday, November 4, 2020

Structured programming Vs object-oriented programming

 There is no formal definition of structured programming, but most agree that it must have a top-down design and use only the three types of logical structures :

1. Sequence (top-down): Statements are executed one after the other.

2. Decisoins (if-else): One of the several blocks of the program is executed based on a test or condition.

3. Iterations (loops ): One or more statements are executed repeatedly as long as a specified condition is met.

Object-Oriented programming:

Can be viewed as a collection of cooperating objects. We use a blend of traditional structured programming along with OOPs. 

An object is an encapsulation of data and code that operates on that data. It is the most effective style of programming for solving complex problems and implementing complex systems in computer softwares.

How can I run a C++ program directly from Windows?

How-can-I-run-a-C-program-directly-from-Windows