zoukankan      html  css  js  c++  java
  • 注释格式

    1、文件注释
    /*
     * fmcVoltage.h
     *
     *  Created on: 2018/08/20
     *      Author: zhu.gd
     */

    2、函数注释:
    /*
     * @Brief:
     *        Export GPIO
     *
     * @Param:
     *        iGPIO_number        [the number of GPIO, such as 0,1]
     *
     * @Return Value:
     *        0                    [normal]
     *        !0                    [Error]
    */


    3、分段注释
    //======================================================================
    // Referenced Header File
    //======================================================================


    //======================================================================
    // Macro Definition
    //======================================================================


    //======================================================================
    // Structure Definition
    //======================================================================


    //======================================================================
    // Variable Declaration
    //======================================================================

     
    //======================================================================
    // Function Declaration
    //======================================================================

    //======================================================================
    // Variable Definition
    //======================================================================

    //======================================================================
    // Function Definition
    //======================================================================

  • 相关阅读:
    简单工厂模式_C#_设计模式
    单例模式_C#设计模式
    快速排序_排序算法_算法
    关于缓存C#
    网络编程的4种IO模型
    一些自己总结
    驱动漏洞中的__try和ProbeForRead
    poj2318
    poj1113
    poj 1904
  • 原文地址:https://www.cnblogs.com/dhqy/p/9488015.html
Copyright © 2011-2022 走看看