17 lines
373 B
C++
Raw Normal View History

2024-08-25 12:32:57 -06:00
#include <iostream>
int main()
{
using std::cout;
/* This is a comment
and it extends until the closing
star-slash comment mark */
cout << "Hello World!\n";
//This comment ends at the end of this line!
cout << "That comment ended\n";
// double-slash comments cal also be alone on a line
/* as can slas-star comments */
return 0;
}