> What's wrong with this code, every time I run the prgm it displays 1 Ok, I can help here...send a message to: vcpp@earth.ml.org... Visual C++ Mailing List...now bugger off :)