title: Multiply char by integer (c++)
body: <p>Is it possible to multiply a char by an int?</p>
  
  <p>For example, I am trying to make a graph, with *'s for each time a number occurs.</p>
  
  <p>So something like, but this doesn't work</p>
  
  <pre><code>char star = "*";
  int num = 7;
  
  cout &lt;&lt; star * num //to output 7 stars
  </code></pre>