txt file

How to get .txt file in char data type ?

fstream file("c:\\text_file.txt");
Topic archived. No new replies allowed.