Atom doesnt run cpp file with String

  atom-editor, c++, string

I want to run my cpp file using string, but when I executed, nothing happened.

#include <iostream>
#include <string>

using namespace std;

int main () {
  string x = "hello";
  cout << x;

  return 0;
}

When running, it only shows:

Press Any Key To Continue...

Source: Windows Questions C++

LEAVE A COMMENT