Teaching / COP 3530 Data Structure and Algorithm Design / Chapter 2: Modular Design, GNU Make and TestingLearning materialsChapter 2: Modular Design, GNU Make and TestingOn this page Contents: Modular Development TL;DR Overview Advantages C++ Building Process Multi-file Organization in C++ Best Practices in Modular Development Pitfalls in Modular Development Compilation Using g++ Mainstream Compilation Systems Building process of C/C++ projects The g++ command Preprocessor directives Styles of building GNU Make make command makefile Modular Compilation Pitfalls Common Error Messages From make Debug makefile Testing in C++ Motivation Simple Test Run Assertions Testing Frameworks Testability