Mudando printf pra cout