Skip to content

¿Cómo hago que se escriban los printsf en mi output.txt? #11

Discussion options

You must be logged in to vote

Hola! Tienes que usar el comando fprintf() en vez de printf(). Printf() sólo imprime los outputs en consola, pero fprintf() los imprime en el archivo que le entregues. Recibe como argumentos lo que quieras imprimir y el path donde quieres que se guarde.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@martina-abello
Comment options

@tomastrivino
Comment options

Answer selected by PaulaGrune
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants