Make File

Charcoalman (28)
How can I retrieve a line of data or write a line of data from this file - MyText.txt
- Retrieve Your Booking (You are Sally)
- Book Appointment


--Name ------------- Time -------------------- Booking Status ------- Booked By
Joanna ---------0800 - 0900 ------------------- BOOKED---------------- Sally
Joanna ---------0900 - 1000 ------------------- BOOKED---------------- SALLY


--Name ------------- Time -------------------- Booking Status ------- Booked By
Tom -------------1100 -1200 ------------------ BOOKED ---------------- SALLY

coder777 (2378)
Use fstream:

http://www.cplusplus.com/reference/iostream/fstream/
Topic archived. No new replies allowed.