Thread
:
How to write a Mastermind game without using array and pointer?
View Single Post
#
2
(
permalink
)
10-18-2007, 11:37 AM
WingedPanther
Join Date: Jul 2006
Age: 35
Posts: 3,392
Last Blog:
wxWidgets is NOT code ...
Rep Power:
37
You only need to store the latest guess and the code, which can be in strings. Then use some loops to work through the two strings using string functions.
__________________
CodeCall Blog
|
CodeCall Wiki
|
Shareware
|
Linux Forum
Programming is a branch of mathematics.
WingedPanther
View Public Profile
Send a private message to WingedPanther
Find all posts by WingedPanther