You seem to have left out something important.....

PHP Code:
#include <iostream> // You must use this version!
#include <string>
using namespace std//this is needed!
void main() {
    
string x;
    
cin >> x;

    
cout << << endl;