This is the simples C++ program. It displays a sentence on the console or the terminal
Version 1 #include <iostream> using namespace std; int main() { std::cout << "Welcome to the wonderful world of C++!!!\n"; return 0; }Version 2
#include <iostream> using namespace std; int main() { cout << "Welcome to the wonderful world of C++!!!\n"; return 0; }
No comments:
Post a Comment