cannot convert argument 2 from 'std::string *' to 'std::string' <p>Not sure why this is happening, it seems like everything is lined up the way it should be unless there is something I am missing. I can't pass these variables and no matter what I try to throw at the compiler, it just gives me another error. </p> <p>This is my code so far.</p> <pre><code>void parse(string name, string storage_1, string storage_2, string storage_3) {//some code } //some more code int start = 0; int length = 0; string param_1, param_2, param_3; while (!infile.eof()) { if (!infile) { cout &lt;&lt; "ERROR: File " &lt;&lt; file &lt;&lt; " could not be located!" &lt;&lt; endl &lt;&lt; endl; break; } param_1.clear(); param_2.clear(); param_3.clear(); line_input.clear(); getline(infile, line_input); parse(line_input, &amp;param_1, &amp;param_2, &amp;param_3); cout &lt;&lt; param_1 &lt;&lt; endl &lt;&lt; param_2 &lt;&lt; endl &lt;&lt; param_3 &lt;&lt; endl &lt;&lt; endl; } </code></pre>