title: triggering motherboard buzzer through c++ for morse code generation
body: <p>Well I've gone back to basics and learning C++ from scratch as the last time I coded any it was years ago. Currently working under Windows cli until getting the Linux box on again. I'm using </p>
  
  <pre><code>cout &lt;&lt; "\a" &lt;&lt; flush; 
  </code></pre>
  
  <p>to make my system create a noise but on looping, there is always a delay - not so good for making longer pulses. I know under C# and Basic there was a way to use the computers buzzer but do not know the c++ way. Any help please?</p>