text from a file turned into a variable?

Posted by b3y4z1d on Stack Overflow See other posts from Stack Overflow or by b3y4z1d
Published on 2010-05-03T15:04:56Z Indexed on 2010/05/03 15:08 UTC
Read the original article Hit count: 193

Filed under:
|
|

If I made a program that stores strings on a text file using the "list"-function(#include ), and then I want to copy all of the text from that file and call it something(so I can tell the program to type in all of the text I copied somewhere by using that one variable to refer to the text), do I use a string,double,int or what do I declare that chunk of text as?

I'm making the program using c++ in a simple console application.

© Stack Overflow or respective owner

Related posts about text

Related posts about copy