1#include <iostream>
2
3int main() {
4 std::cout << "Hello, World!"; // prints 'Hello, World!' to the output.
5 return 0;
6}
1#include <iostream>
2using namespace std;
3
4int main(){
5 cout<<"Hello World!"<< endl; // prints "Hello World"
6 return 0;
7}
1#include <iostream>
2using namespace std;
3
4int main() {
5 cout << "me";
6 return 0;
7}
1#include <iostream>
2using namespace std;
3
4int main() {
5 cout << "ENTER TEXT HERE";
6 return 0;
7}
1#include <iostream>
2#include <string>
3#include <iterator>
4
5using std::cout; using std::cin;
6using std::endl; using std::string;
7
8int main(){
9 string s1 = "This string will be printed";
10 cout << s1;
11 cout << endl;
12
13 printf("%s", s1.c_str());
14 cout << endl;
15
16 return EXIT_SUCCESS;
17}
18