string filePath = "C:\\nvidia\\test.txt";

ifstream fin(filePath);

string content;

while( fin >> content)
cout << content;

fin.close();

이런식으로 코드를짰는데 뭐가문제인지 모르겠어 ㅠㅠㅠㅠ
그리고 filePath 에 \\는 \문자특성상 \\ 로표현해준거야 ㅎㅎ