I need a really simple safecracking program, you know, like enter 3 numbers and how many of them are correct until you get them in the right place. I have to explain it to someone with REALLY limited C++ knowledge, so no fancy stuff.
I need a really simple safecracking program, you know, like enter 3 numbers and how many of them are correct until you get them in the right place. I have to explain it to someone with REALLY limited C++ knowledge, so no fancy stuff.
Sounds like homework, doubt you're going to get any help without showing you tried to do it yourself.
Read this: Using cin to get user input. - C++ Forum (tell you how to get input from user)
and this: Control Structures - C++ Documentation (not sure if it's the best way, but as a novice i would use if statements to do the 3 digit code)
and you should be fine.