Goodbye, cruel world!

Bjarne Stroustrup “Programming Principles and Practice Using C++”
Chapter 3 Try This Page 75
Using std_lib_facilities.h by Bjarne Stroustrup.

[code language=”cpp”]
// Philipp Siedler
// Bjarne Stroustrup’s PP
// Chapter 3 Try This Page 75

#include "std_lib_facilities.h"

int main()
{
string s = "Goodbye, cruel world!";
cout << s;
keep_window_open(".");
}
[/code]

Output:
Goodbye, cruel world!

Newsletter Updates

Enter your email address below to subscribe to our newsletter

Leave a Reply

Physical Address

304 North Cardinal St.
Dorchester Center, MA 02124