-
wierd problem
so ive got this code that prints the puzzle in disguise using arrows or question marks. but i need the spaces to be shown and not in hidden by the different types of question marks or arrows or *'s. if i could get some help it would be much appreciated.
Code:
int i;
int solve;
int weel;
char letter;
char *Phrase_ptr, *Puzzle_ptr;
printf("/////////////////////////////// \n\n");
Phrase_ptr = strtok(clue1,"%");
printf("The category for this round is: %s\n\n",Phrase_ptr);
printf("///////////////////////////////\n");
Puzzle_ptr = strtok(NULL,",");
printf("Here's the puzzle: \n");
for (i = 0; i < strlen(Puzzle_ptr); ++i)
{
printf("%c",Puzzle_ptr);
}
-
This betrays a bit of newness:
Code:
for (i = 0; i < strlen(Puzzle_ptr); ++i)
{
printf("%c",Puzzle_ptr);
}
Could you post more of the code?