Jump to content

[C] Dúvida: Escrever em ficheiro de texto


Recommended Posts

Posted

Tenho uma duvida sobre escrita em ficheiros de texto.

Posso escrever uma estrutura definida por mim num ficheiro de texto? ou sou obrigado a  usar ficheiros binarios?

Estruturas é melhor ficheiros binários, é bem mais simples. Se usasses ficheiros de texto irias ter muito mais trabalho para separar correctamente a informação.

"Nunca discutas com um idiota. Eles arrastam-te até ao seu nível e depois ganham-te em experiência"

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.