title: C - Generating all possibilities of X character words
body: <p>EDIT: I meant Permutations, not combinations. Thanks.</p>
  
  <p>I realize this is a rather open ended question, and I'm not looking for code per say, but really some hints where to start. What I want to make is a program, that can generate every combination of characters for a given length, i.e the user inputs 4, and the program will generate every possible combination of ASCII characters for a length of 4. </p>
  
  <p>Not really sure where I would start, perhaps the use of a hash table? Of course loops will be needed but I'm unsure how to design them to produce combinations. Up until now, its always been a case of, loop until 1000 things have happened for example. </p>
  
  <p>Any advice is much appreciated !</p>
  
  <p>Cheers,</p>
  
  <p>T. </p>