0

Hello,
does anybody know how to read in the data from a file into a program and vise versa when i am programming on mac? To be more precise, i dont have a txt., i only have rtf. extensions. Every time i run the console, i get an error message that the file cannot be found.
Thank you

2
Contributors
4
Replies
5
Views
9 Years
Discussion Span
Last Post by grisha83
0

Well, then as your thread title says, you will need to use the fstream library from the STL. Reading in a .rtf is the same as reading in a normal text file; the only difference being that rtf contains markup describing the formatting of the text it contains.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.