Cpp Basic 20: Comment

7 January 2020, 8:21 pm by antelove19

Cpp programming language

Cpp programming language



Happy Coding


main.cpp

/* ------------------------------------------------------------ */
/*  Comment                                                     */
/*  Single, multi and documentation                             */
/*                                                              */
/*  Author: antelove                                            */
/*  Website: antelove.com                                       */
/* ------------------------------------------------------------ */

#include <iostream> // standar input output library

using namespace std;

int main()
{

    // This is single comment

    /* This
        is
        multi comment
    */

    /* ------------------------------------------------------------ */
    /*  This                                                        */
    /*  is                                                          */
    /*  documentation                                               */
    /* ------------------------------------------------------------ */

    return 0;

}

Thank for reading :)



No Action Title
1 Live
2 Editor
0 comment