Posts by Giovanni • 29 points
5 posts
-
0
votes2
answers1114
viewsA: Line break does not work on file
I added the r and it worked fprintf(arquivo, "%s\r\n", p->infoLinha);
-
1
votes2
answers1114
viewsQ: Line break does not work on file
I take the elements of a list but at the time of saving it not saved with line break saves everything in the same line. fprintf(arquivo, "%s\n", p->infoLinha);
-
-1
votes1
answer856
viewsQ: Help with C Text Editor
I’m having some trouble making a text editor there will some of them: 1 - I don’t know how to delete a line; 2 - I can’t move with mouse arrows up and edit a line of text and save in sequence; 3 -…
-
0
votes1
answer89
viewsA: How to find something specific inside a Text file
consequence something more or less like this but it does not read the file and without the struct void mostra (){ FILE *arquivo; ALUNOS aluno[100]; int aux; char ch; int achou = 0; if ((arquivo =…
-
1
votes1
answer89
viewsQ: How to find something specific inside a Text file
Hello, I have to check the grades of a certain student and if his average is greater than 5 show the name so I have no idea how to do it... nor to ask how does it so excuse me if I was unclear…