add
using namespace std;

after the includes