ストラウストラップのプログラミング入門で登場する、
#include "std_lib_facilities.h"
という行は、すべて、次のプログラムに置き換えて 考えてください。
#include<iostream>
#include<string>
#include<vector>
#include<algorithm>
#include<cmath>
using namespace std;
inline void keep_window_open() { char ch; cin >> ch; }
hello_world.cpp に例を載せます。 これは、 ストラウストラップのプログラミング入門の p26 にある hello world です。
このプログラムを、コピペして、 helloworld.cpp
というファイルに
保存したあと、ターミナルから、
g++ helloworld.cpp
と入力することでプログラムをコンパイルできます。