use of cout rather than printf