quote symbol parsing
<p>i have file like this</p>

<pre><code>"a",205    
"b",214    
"c",223    
""",13
</code></pre>

<p>and i need to parse it 
i read line by line to str and i have to convert second character  from string to integer, but when it comes to quote &lt;"> character it throws an exception <strong>string subscript out of range</strong>.</p>

<pre><code>std::string STRING;
std::ifstream infile;
std::vector &lt std::string &gt tokens;
infile.open (Filename);

unsigned int x; 
while(! infile.eof()) 
{
    std::getline(infile,STRING); 
    tokens = Utility::splitString(STRING,',');//array of tokens
    x = (unsigned int)tokens[0][1];//convert first tokens,second character to uint
}</code></pre>

<p>I think it is something with escape sequence.</p>
