Help answer threads with 0 replies.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 12-27-2005, 10:05 AM   #1
LQ Newbie
Registered: Dec 2005
Posts: 21

Rep: Reputation: 15
writing and reading from a file!

i want 5 lines to be shown on the screen after each act of the user. i don't want to rewrite it every time so i want to save them in a file and read from file whenever i want them.
how can i do that
Old 12-27-2005, 01:33 PM   #2
Registered: Dec 2005
Distribution: Slackware
Posts: 151

Rep: Reputation: 30
okay. I'm ready and willing to help on a programming question, but how about telling us what language you're using?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Binary reading/writing in cpp kornerr Programming 1 11-27-2005 07:09 PM
BASH script Ė reading and writing variables to a separate file morrolan Programming 10 09-20-2005 07:45 AM reading and writing to a text file simultaneously mrobertson Programming 3 09-08-2005 12:30 PM
C File reading and writing AbhishekSamuel Programming 3 05-03-2005 03:59 PM
Help reading and writing to file xiste Programming 1 04-15-2005 12:43 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 09:09 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration