How do I make this reads the new lines in the test.txt file, and display them??????

#include <iostream.h>
#include <fstream.h>

void main()
{
char string[200];
ifstream File;
File.open("test.txt");


while(!File.eof())
{
File >> string ;
cout << string<<" ";

}


}

Thanks!