2 array compare
#5
Yes, i write a mastermind clone.

The a problem is when through the array.
The following case queries are done:
0 = No match
2 = Complies

at 1 = I still have a problem. I just do not know how I can program a loop in which I remember where I was.

namely it is to compare the first array with the second, until he finds some of the first array in the second array.

So in my example would have at the third pass of the loop stop at red, show me something, then restart the last pass and show something.

Sorry for the englisch (translate with google)
Reply


Messages In This Thread
2 array compare - by lorglas - 03-26-2016, 09:57 AM
RE: 2 array compare - by bbjimmy - 03-26-2016, 01:29 PM
RE: 2 array compare - by clasqm - 03-26-2016, 04:27 PM
RE: 2 array compare - by bbjimmy - 03-26-2016, 10:37 PM
RE: 2 array compare - by lorglas - 03-26-2016, 10:43 PM
RE: 2 array compare - by clasqm - 03-27-2016, 06:12 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)
Free Web Hosting