Resolution/size of string
<p>I'm trying to write a mini program that basically takes a vector of strings (from user input) and displays or prints out an increased &amp; decreased resolution (size) of it.</p>

<p>It would increase or decrease each character of each string by 4.
Example: if the string is "abcdef" then increased resolution would be "aaaabbbbccccddddeeeeffff"</p>

<p>I was having trouble writing the code. I don't want it to not only loop through the vector of strings but I want it to read the characters of each string in the vector and produce the resolution results.</p>

<p>Is there anyway of doing that? I keep getting these conversion errors from the compiler</p>

<pre><code>void asci_art::bigresol(vector&lt;string&gt;art)
{
   cout &lt;&lt; "Increased Resolution of your artwork" &lt;&lt;endl;

   for (int i = 0; i &lt; art.size(); i++)
   {
      for(int j = 0; j &lt; art[i].size(); j++)
       {
          cout &lt;&lt; art[j] + art[j] + art[j] + art[j] &lt;&lt; endl;
        }
     }
   }
</code></pre>

<p>btw I wrote this function in a class.</p>

<p>In this case, I'm writing a function that increases the resolution. I assume decreasing resolution would be the same idea.</p>
