SpeakerForTheDead
Programmer
I'm trying to write a program that frequently prompts for char arrays. I've been told to stay away from the gets function. Yet when I run the progam, it does something very strange. It skips the cout command that precedes it and then displays the text AFTER the prompt. And there are other problems that arise later in the program. It is not a problem that lies elsewhere in the code. I've done the program on a different system using strings. Is there another alternative?