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>g++ Welcome.cpp -o Welcome.exe GNU C++ Compiler 6.3.0-1 Compiled successful (g++ is the GNU 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; }