Jump to content

TheWarden

Members
  • Posts

    1
  • Joined

  • Last visited

Posts posted by TheWarden

  1. randChar = rand()%4;

    Won't work unless the user somehow enters a control character.  In order for this line to work, it would have to move the random character into the range of printable characters (eg: randChar += 'a'; ).

×
×
  • Create New...