Adding strings generated by function into an array : <p>I am trying to create a string array to hold the strings generated by a void function. I am very confused about if or how I can do this. The below code is giving me an error about "no suitable constructor."</p>

<pre><code>getWords("theFile.dat");     // Function to extract list of strings from file       
string wordsList[] = {getWords("theFile.dat")};    // Add strings from function to array
</code></pre>
