// C/C++ source file structure
/***************************************************************************
* necessary thirdparty interface
* for example:
* #include "xxx.h" or
* #include "xxx.hpp"
***************************************************************************/
/***************************************************************************
* hyper-parameter
* for example:
* - #define XXXXX 1
* - #define TRUE 1
***************************************************************************/
/***************************************************************************
* type
* for example:
* - type definition: struct/class
* - type alias: typedef
* - in-complete type declaration: not recommended
***************************************************************************/
/***************************************************************************
* shared memory definition
***************************************************************************/
/***************************************************************************
* function1
* for example:
* - macro with paramter
* - inline function
* - template function
* - function declaration
***************************************************************************/
/***************************************************************************
* function2
* for example:
* - except function1
***************************************************************************/
C/C++ source file structure
于 2024-06-26 17:15:32 首次发布