Hi.
Could someone give me straight-forward two examples of writing and reading to/from text files?
1. Write "a" to text file called "text.txt"
2. Read all strings from "text.txt" and store them into array.
@additional 3. After doing 1, how to add another "a" to "text.txt" so it'll contain "a
a"
- basically, extending "text.txt" in more strings.
Could someone give me straight-forward two examples of writing and reading to/from text files?
1. Write "a" to text file called "text.txt"
2. Read all strings from "text.txt" and store them into array.
@additional 3. After doing 1, how to add another "a" to "text.txt" so it'll contain "a
a"
- basically, extending "text.txt" in more strings.