I'm trying to write a program which locates a text file in "my documents," and reads and displays what is on the file. I'm using the 2005 version of C++ and I might be using the wrong format. Thank you.
eescobar
0
Newbie Poster
Recommended Answers
Jump to PostCheck out the win32 api functions FindFirstFile() and FindNextFile(). They allow the program to iterate through all the files and directories in a folder. The compiler you are using will work well. When you create a new project you want to create a win32 console program, unless you want to …
All 3 Replies
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
iamthwee
Ancient Dragon
5,243
Achieved Level 70
Team Colleague
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.