Kakarott0 Posted May 28, 2012 Report Share Posted May 28, 2012 Senhores, boa noite!Gostaria de um codigo que lesse um arquivo txt (até ai tudo bem) porém que gravasse o conteudo dele em outro arquivo invertendo a ordem de seu caracteres.Algum consegue me ajudar, pf?Abrçs Quote Link to comment Share on other sites More sharing options...
0 Sartor Posted May 30, 2012 Report Share Posted May 30, 2012 Faça uma função q leia caracter por caracter no fim do arquivo e decrementando ate o inicio(vai ter que ver(verificar) o tamanho do arquivo pra fazer isso)colocando em um char e gravando em um novo arquivo. Quote Link to comment Share on other sites More sharing options...
Question
Kakarott0
Senhores, boa noite!
Gostaria de um codigo que lesse um arquivo txt (até ai tudo bem) porém que gravasse o conteudo dele em outro arquivo invertendo a ordem de seu caracteres.
Algum consegue me ajudar, pf?
Abrçs
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.