Page 1 of 1

C++: Printing and Comments

Posted: Wed Sep 24, 2025 8:55 pm
by The Jason

Code: Select all

// welcome-to-forum.cpp

include <iostream>

# include <string>

using namespace std;

int main() {

cout: << "Welcome to Hosting Chatter.";

return 0;

// This is a single line comment.

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

}