system("pause") note working c++

C++
#include <cstdlib> // use this header in order to include `system` in `main`
#include <iostream> // use this header in order to include `cin` in `main`
Source

Also in C++: