title: Why is my terminal producing a beep sound whenever I am printing characters for C++ code?
body: <p>I am a beginner in Programming in C++. Recently in my C++ Book there was a quick exercise to print a set of characters from <code>a</code> to <code>z</code>. I typed the following code in Visual Studio 2019.</p>
  <pre><code>char alphabet = 0;
      
  while (alphabet &lt; 130)
  {
      cout &lt;&lt; char(alphabet + 1)&lt;&lt;&quot;\n&quot;;
      ++alphabet;
  }
  </code></pre>
  <p>I can understand why my code prints weird characters and signs, because I have chosen ASCII characters valued from 1 to 130. However, the real problem is that my terminal produces a beep sound every time, even after all the characters are printed. I know for a fact that a beep sound is part of the ASCII character set, but it is only the character 7. But in my case the terminal produces a beep sound continuously until I kill the executable from the task manager.
  Please tell me the reason why there is a problem like this and please do not have a problem saying that this code is printing more than <code>a</code> to <code>z</code>. I just chose a random number so that I get the characters <code>a</code> to <code>z</code> in the terminal.
  I am running this code on Windows 7, so if the OS has something to do with it please tell.</p>