Navigation
index
next
|
previous
|
IanFang Course Note Hosting documentation
»
COP 3530 Data Structure and Algorithm Design
»
COP 3014 Algorithm and Program Design
»
Chapter 3 User-defined Functions and Modular Development
Chapter 3 User-defined Functions and Modular Development
ΒΆ
User-defined Functions:
User-defined Functions
Purpose
Declaration
Definition (implementation)
Default value
Function call
Function Pitfalls
Parameter Passing
Scope
Overloading
Function call matching
Example
Function Glossary
Passing Arrays To/From Functions
Array Parameters
Return an Array
Reference-type in Functions
Pass by reference
Returning a Reference
Modular Development:
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
Previous topic
Control Flow
Next topic
User-defined Functions
This Page
Show Source
Quick search
Navigation
index
next
|
previous
|
IanFang Course Note Hosting documentation
»
COP 3530 Data Structure and Algorithm Design
»
COP 3014 Algorithm and Program Design
»
Chapter 3 User-defined Functions and Modular Development