Error opening a .txt file in C++

do it in following wayvar fileStream = new FileStream(@"c:\file.txt", FileMode.Open, FileAccess.Read); using (var streamReader = new StreamReader(fileStream, Encoding.UTF8)) { string line; ...

vectors, fstream 1 Answer 362 views asked Apr 12 in C++ by rugan
To see more, click for the full list of questions or popular tags.