mastermind

This is a discussion on mastermind within the C Programming forums, part of the General Programming Boards category; HALLO
i need to write a " mastermind game " and i have some problems with the functions ...hope your ...

That's ... interesting. That's the function Same, which is completely and totally irrelevant to the question I asked. I asked whether you were planning to write the function GetRequest in such a way that it works (i.e., that you would be able to see the typed-in string).

And not only all of that, but the strRequest array here is in no way, shape, or form the same strRequest array that is in main. You read your string into a local array that quite simply disappears at the very next line -- meaning all that work for nothing.