实例 C++ 多行注释

x
 
#include <iostream>
using namespace std;
int main() {
  /* The code below will print the words Hello World!
  to the screen, and it is amazing */  
  cout << "Hello World!";
  return 0;
}
                    

输出结果

Hello World!