| | |
please help search files in folder
Please support our C++ advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Mar 2007
Posts: 15
Reputation:
Solved Threads: 0
am using tc3
i want to search files in a folder named "project" on c drive
this folder contains some text files namely
2-2AA
2-2BA
2-2CA
2-2DA
LOG
i want to search how many files are there excluding LOG so that i can open them one by one and manipulate them
like f.open("c:\\project\\2-2AA.txt"......)
please suggest a code that can be used to search files in a folder or how c++ handles this.
i want to search files in a folder named "project" on c drive
this folder contains some text files namely
2-2AA
2-2BA
2-2CA
2-2DA
LOG
i want to search how many files are there excluding LOG so that i can open them one by one and manipulate them
like f.open("c:\\project\\2-2AA.txt"......)
please suggest a code that can be used to search files in a folder or how c++ handles this.
I believe TC3 compiler supports dos.h and I think it includes _dos_findfirst() and _dos_findnext(). Here is an example program.
Don't PM me with questions -- you might get a nasty PM in response. If you have a question then post it in one of the forums.
![]() |
Similar Threads
- how to copy all files from one folder to another using system.io (ASP.NET)
- dns error on opening IE (Viruses, Spyware and other Nasties)
- how to decifer from prime or not prime numbers (Pascal and Delphi)
- HJT Log - System restore, search files & folders don't work (Viruses, Spyware and other Nasties)
- Listing files in a folder (C++)
- System restore, search files& folders doesn't work. HiJackthis log is like reading gr (Viruses, Spyware and other Nasties)
- Temporary Internet Files Folder (Web Browsers)
Other Threads in the C++ Forum
- Previous Thread: Output on program termination
- Next Thread: gotoxy
| Thread Tools | Search this Thread |
api array based binary bitmap c++ c/c++ calculator char char* class classes code coding compile console conversion count database delete deploy desktop developer directshow dll download dynamic dynamiccharacterarray email encryption error file forms fstream function functions game givemetehcodez google graph gui homeworkhelp iamthwee ifstream input int java lib linkedlist linker linux list loop looping loops map math matrix memory multiple news node number numbertoword output pointer problem program programming project python random read recursion recursive reference return rpg sorting string strings temperature template templates test text text-file tree unix url variable vector video visualstudio win32 windows winsock word wordfrequency wxwidgets






