title: String prototype in header requires iostream?
body: <p>So in my header i made a string: <code>string s;</code> The compiler freaks out at this. I know that string is part of iostream::std. Do I have to include it in the header instead of in the .cpp file then? If so is it bad if other files that use the header include iostream? How do I deal with that?</p>
  
  <p>Edit: Also for vector since it seems I'll be needing it a lot in my assignment.</p>
  
  <p>Edit2: I remember seeing #ifndef in a lot of examples of headers and I feel like it may help with my question, but I can't seem to find a good explanation.</p>