comments in cpp code example

Example 1: comment in c++

// This is a single one line comment

/*
multiline comment
*/

Example 2: c++ comment

/* This is a comment */

/* C++ comments can also
   * span multiple lines
*/

/* Meowwwwww */

Example 3: c++ comment

// Comment here
/*
	Comment
    Here...
*/

Example 4: comment in c++

// 1.This is a single line comment

/* 2. This is a
	multi-line comment */

Example 5: how to make a comment in c++

//This is a single line comment in C++.

/*
This
is a 
multiline comment
*/

Tags:

Cpp Example