Well you still have not told me what you expect the code to do, so I can't say much about what might not be cooperating...
Type: Posts; User: jps
Well you still have not told me what you expect the code to do, so I can't say much about what might not be cooperating...
I think you do not understand what happens then. Consider the first loop:
while((check(i,nmax))!=(check(i,nmax)));
So while (this) does not equal (that) where 'this' and 'that' are calls to the...
What is the code supposed to do?
What does the first while loop do?
The posted code does not compile. Make sure you post the same version of the code you are having problems with.