I made a program to make all possible "words" (from a to zzzzz for example) which uses this function:
char increaseChar (char value)
if (value != ' z' ) return ( char (value + 1) );
else return 'a';
Now I want to adapt the program so that you can define your own alphabet (for example "azerty123&é" )
What is the best way to do this??
How should I adapt the increasechar function to do this??
Or is there a better way ??
(like using an "enum" , or something like this ? )
Could you also give a code sample please, since I am a beginner.