How do I Modular Design in C?
问题 I want to make my project more modular so that there are no inter-modular dependencies if one of the module is removed. For e.g. If I divide the code in my process into multiple directories, say, X, Y and Z so that data structures in X should not be accessed directly by data structures in Y and Z and vice versa then I need some internal communication mechanism between X, Y and Z. Since I am coding in C, can anyone suggest a sample project or design considerations for the same? 回答1: This often