LiveExample: Welcome.cpp
Source Code Editor:
FILL_CODE_OR_CLICK_ANSWER using namespace std; int main() { // Display Welcome to C++ to the console FILL_CODE_OR_CLICK_ANSWER return 0; }
Choose a Compiler:
VC++
GCC
Execution Result:
command>cl Welcome.cpp Microsoft C++ Compiler 2019 Compiled successful (cl is the VC++ compile/link command) command>Welcome Welcome to C++! command>
FILL_CODE_OR_CLICK_ANSWER using namespace std; int main() { // Display Welcome to C++ to the console FILL_CODE_OR_CLICK_ANSWER return 0; }