answersLogoWhite

0


Best Answer

Modular design is the process in which you take a large problem and break it down into smaller problems, and address each smaller problem individually. In terms of C Programming, it would mean taking a large programming task and breaking it down into several smaller logically separate tasks. Each of these smaller tasks would most likely be represented as a function in the program.

User Avatar

Wiki User

13y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

10y ago

Modularisation is where code is split into modules, making it much easier to re-use code in multiple applications. The standard template library (STL) is an example of modularisation. Most programs only require portions of the library as opposed to the entire library. That is, if your program does not require vectors, you need not include that particular module. You need only include those modules you actually need.

This answer is:
User Avatar

User Avatar

Wiki User

11y ago

It is modular because code can be modularised, broken up into separate pieces of code, which can then be re-used without modification, in whole or in part, within other programs, simply by including the appropriate headers and (optionally) using the appropriate namespaces.

Often, groups of related functions are modularised as a library. To make use of the library's functions, your programs simply include the library header file (which contains all the prototypes and forward declarations contained in the library), and link your program to the library. Sometimes the functions may not be in a library at all, but the source code itself is available, either contained within the header itself or within a separate source file. In this case you need only include the header and (if available separately) add the source to your project.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is modularization in c plus plus?
Write your answer...
Submit
Still have questions?
magnify glass
imp