Link to home
Start Free TrialLog in
Avatar of teiz
teiz

asked on

how to read and write from a text file?

can you help me?
after readin some tutorial i still have got no idea.
thx
Avatar of akshayxx
akshayxx
Flag of United States of America image

show your attempt at coding
ASKER CERTIFIED SOLUTION
Avatar of expertmb
expertmb

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of teiz
teiz

ASKER

thank u expertmb
Avatar of teiz

ASKER

thank u expertmb
if ur requirement is met, then plz accept it as answer.
Just dont forget to flush and close when you write a file(i.e. outFile.flush() and outFile.close()).