且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在C ++中使用Visual Studio读取文本文件时遇到问题

更新时间:2023-01-23 16:48:45

问题是我从Unix环境复制并粘贴了文本文件.为了解决这个问题,我只是将文本文件从C盘放入目录中.

The problem was that I copied and pasted my text files from the Unix Environment. To fix this I just placed the text files into my Directory from my C Drive.

ie>)C:\ Users \ s.proctor \ Documents \ Visual Studio 2015 \ Projects \ ecs60 \ p2 \ p2 \ p2

ie>) C:\Users\s.proctor\Documents\Visual Studio 2015\Projects\ecs60\p2\p2\p2