Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

 
 
Thread Tools Display Modes
Prev Previous Post in Thread   Next Post in Thread Next
Old Aug 12th, 2007, 4:51 PM   #1
Keiro
Newbie
 
Join Date: Nov 2006
Location: Here!!!
Posts: 7
Rep Power: 0 Keiro is on a distinguished road
Read file backwards

Hey,

I'm writing a script that appends to a file. Would it be possible if someone could tell me how to read a file from down up rather form up down. Example:

the
dog
sat

I want this to happen
sat
dog
the

So the file is read from down up line by line.

Many thanks in advance,

K
Keiro is offline   Reply With Quote
 

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
OnlineTextEditor.Com! Sane Show Off Your Open Source Projects 43 Jun 16th, 2006 8:55 AM
Read and write to one file nnxion C 3 Apr 11th, 2006 5:10 PM
How to read a line of from a file aznluvsmc C 12 Oct 22nd, 2005 5:36 PM
After execution - Error cannot locate /Skin File? wchar Visual Basic 1 Mar 5th, 2005 9:04 PM
airport Log program using 3D linked List : problem reading from file gemini_shooter C++ 0 Mar 2nd, 2005 4:12 PM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 2:44 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC