User Profile

Collapse

Profile Sidebar

Collapse
sandra19
sandra19
Last Activity: Feb 21 '08, 11:56 PM
Joined: Feb 9 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • sandra19
    replied to reverse of the text in a textfile...
    in C
    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??
    See more | Go to post

    Leave a comment:


  • sandra19
    replied to reverse of the text in a textfile...
    in C
    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);...
    See more | Go to post

    Leave a comment:


  • sandra19
    started a topic reverse of the text in a textfile...
    in C

    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
    See more | Go to post
No activity results to display
Show More
Working...