hello
i have a small program consisting on getting a paragraph from a user
storing this paragraph in a text or word file if possible.
than to read back the paragraph from the text or word file.
1:
is it possible that a user write a long paragraph of about 2 or 3 pages in data type "string"? or is there any other data type to use ?
2:
how can i get the paragraph entered by the user and to store it in a text or word file?
3:
how can i read the paragraph from the text or word file the we created?
I would go with vector<string>vec to store each line, then you will neeed to include fstream to write what you store to a file. Just like DTS code said