C Programming

Associate
Joined
22 Jan 2005
Posts
186
Hello all,

I'm trying to design a game of hangman in C. I was wondering if anyone here knows how I would initialise a char array such as "_ _ _ _ _ _". I want this array to have the correct number of underscore + space, based on the length of the word that is chosen.

I hope that's clear :confused:

Thank you for any help in advance!
 
Back
Top Bottom