User Profile
Collapse
-
i already have the code in revesing the text in a textfile... basically, i used pointers(just like what u said( but i cant put it here since i wrote the code on our school)... another problem is,, how could i put the data in the pointer back to the dat file again? after reversing it..ideas??? please?? -
here is the start of code... could you please (if its ok with you) to add a little of your ideas here...? i really dont know how to start it..
file_ptr = fopen("FIRST.DA T","r");
if (file_ptr != NULL)
{
while ((buffer = fgetc (file_ptr)) != EOF)
printf("%c", buffer);
printf("\n");
fclose(file_ptr );
gotoxy(2,22);...Leave a comment:
-
reverse of the text in a textfile...
how could i reverse the word in a DAT file without using link and append the reverse text in the DAT file.? any suggestions? i already tried reversing it using linked list but i want to try another program with out using link list
No activity results to display
Show More
Leave a comment: