removing the first line from a text file.

hi

example i have a text file with this data:
-----------------------------
2330
2456
7869
2309
-----------------------------
if i have a loop on my program how can i tell the program to remove the first line each time the loop
runs. example first loop removes 2330, next loop removes 2456 etc....

thanks in advance.

arvin


Comments

  • : example i have a text file with this data:
    : -----------------------------
    : 2330
    : 2456
    : 7869
    : 2309
    : -----------------------------
    : if i have a loop on my program how can i tell the program to remove the first line each time the loop
    : runs. example first loop removes 2330, next loop removes 2456 etc....

    Yeah, and...? What have you done so far? We're not about to write the program for you.

    -Xotor-



Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories