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!

Leave a Reply