++'d if not only for your closing-brace indentation style!. Yes, this is the correct way!
In reply to Re: A word game by Tux in thread A word game by jwkrahn