title: Point to a single character within a string
body: <p>Lets say I have a string named foo with a value of "I dont want to be a c string", and a string pointer named bar.</p>
  
  <p>Is there a way to make bar point to the capital I in the string without converting it to a c string? Pointing to it directly just gives bar a value of "I dont want to be a c string" instead of the value "I", and everything else I have tried just returns errors.</p>
  
  <pre><code>int main() 
  {
      string foo = "I dont want to be a c string";
      string *bar = &amp;foo //I want the pointer bar to stay a pointer of type string.
      cout &lt;&lt; *bar; //Prints "I dont want to be a c string" when I want it to print "I"
      return 0; //I want bar to point to foo[0].
  } 
  </code></pre>
  
  <p>The goal is not to print out I, but to give the location of I to a pointer of type string without having to convert it to cstring. Im not even sure it is possible.</p>