title: How to select random letters in c++
body: <p>Hi I'm working on an hangman project for my final in my c++ class. I've got most of it working but I wanted to make it so the player could have the option to play against a computer opponent in single player mode. I tried doing something like 97+rand()%123 so then convert the number to characters but I keep getting weird  characters like an upside down f I checked to see if I was missing something but I have the right directives and I included a srand.
  a simplified version of what I did looks like this</p>
  
  <pre><code>#include &lt;iostream&gt;
  #include &lt;fstream&gt;
  #include &lt;string&gt;
  #include &lt;cstring&gt;
  #include &lt;cstdlib&gt;
  #include &lt;ctime&gt;
  using namespace std;
  
  int main(){
      char cch;
      char ch; 
      unsigned seed= time(0)
      srand(seed)
      cch=97rand()%123;
      ch=cch;
      cout&lt;&lt;"computer chose "&lt;&lt; ch&lt;&lt;endl;
  }
  </code></pre>
  
  <p>please note that I didn't include everything my project</p>