Okay, so what's the problem now? Printing 0 looks correct if you initialise number to 0.
Type: Posts; User: laserlight
Okay, so what's the problem now? Printing 0 looks correct if you initialise number to 0.
Where's the main function?
Post the smallest and simplest compilable program that demonstrates the problem.
According to your image, there is no two in the output.
You do not show what is CHECK, CHECKBORDER, number and CHECKFORMAT, so all I can say is that there is a bug in your code ;)