title: Problem generating a random sequence of binary numbers
body: <pre><code>#include &lt;iostream&gt;
  #include &lt;random&gt;
  #include &lt;string&gt;
  #include &lt;chrono&gt;
  
  using namespace std;
  
  string string_maker5000(int length)
  {
      unsigned seed = std::chrono::steady_clock::now().time_since_epoch().count();
      default_random_engine e(seed);
      string stringcheese;
      for (int i = 1; i &lt;= length; i++)
      {
          uniform_int_distribution&lt;int&gt; distr(0, 1);
          int n = distr(e);
          stringcheese = &quot;: &quot;;
          stringcheese += n;
      }
      return stringcheese;
  }
  int main()
  {
      string yee = string_maker5000(5);
      cout &lt;&lt; yee &lt;&lt; endl;
  }
  </code></pre>
  <p>Whenever I run the program, instead of it outputting 1s and 0s it outputs question mark boxes for the 1s I think, and it appears to output 0s as blanks. I'm not really sure. Makes me think its some type of problem with utf or something.</p>
  <p><a href="https://i.stack.imgur.com/vVKmO.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/vVKmO.jpg" alt="enter image description here" /></a></p>