printf vs cout