title: C++ :My program won't compile and I am not sure why. I think I am missing a library...? Easy answer
body: <p>This is not a homework assignment. I was reviewing my basic C++ knowledge for my new coding class and I was messing around with the structs example he gives in one of the slides.
  Below is my code:</p>
  
  <pre><code>#include &lt;iostream&gt;
  using namespace std;
  
  struct PERSON
  {
      string name;
      int age;
  };
  
  PERSON get_person(void)
  {
      PERSON temp;
      cin &gt;&gt; temp.name;
      cin &gt;&gt;temp.age;
      return(temp);
  }
  
  int main(void)
  {
      PERSON me;
      me= get_person();
      cout&lt;&lt;me.name;
      cin.get();
  }
  </code></pre>
  
  <p>//It won't recognize the ">>" and "&lt;&lt;" and wont compile. I am thinking it is because I am using a struct and did not include something at the beginning of my code.
   Any ideas why?</p>