Modules and Libraries in C

Modules and Static Libraries in C

Modules and Libraries in C Usually, for smaller programs, we always write one source file, compile and run it. But for a big codebase, we would rather prefer to have a modular approach. It means we would group statements which does similar work under one file and import those into the main source file. This is called modular programming. According to Wikipedia: Modular programming is a software design technique that emphasizes separating the functionality of a program into independent, interchangeable modules, such that each contains everything necessary to execute only one aspect of the desired functionality....

February 15, 2021 · 8 min · Arnab Sen