I doubt if you'll ever get inside your "while" condition. What is tha value of 'tester' upon entering the while statement? It's either garbage, or if the compiler is nice, it has initialized the value to zero. Still it won't meet the condition will it?