Imagine I have a txt file, with different text "types" in it, for example a long paragraph, then a few words, then some numbers, etc. :

-----------------
Hello, this is the first part of my text file, and it's a paragraph. Therefore in this area, I blabber on and on, endlessly, or almost, because it's gotta be a long paragraph, quite a few lines. My next area will be numbers.

183751 59329 1534.07

Now one line, next will be one word.



WORD.
----------------

What can I use to make sure that I can read :

1. ALL of it, in ONE variable
2. Only the first paragraph ( I don't know it's length )
3. Only numbers
4. Read everything but the spaces, in ONE variable
5. Fit each line in a different variable
6. Have a variable which will contain only the numbers, but each number skips one character, which would give "135 539 13.7"



I'm not sure what to use for any of these. If I use
Code:
while(fin.get(stuff))
{
cout << stuff
}
which wouldn't give me everything in one variable, etc..

Thanks for any help.