Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 7 results for
directorycontents
- Page 1
how to check a text file named directorycontents.txt for filenames extensions
Programming
Software Development
12 Years Ago
by dakerao
… i do this: Got a text file called
directorycontents
.txt in this
directorycontents
.txt there is a bunch of text each one…
how to check a text file named directorycontents.txt for filenames extensions
Programming
Software Development
12 Years Ago
by dakerao
… i do this: Got a text file called
directorycontents
.txt in this
directorycontents
.txt there is a bunch of text each one…
Re: how to check a text file named directorycontents.txt for filenames extensions
Programming
Software Development
12 Years Ago
by Clinton Portis
…> doc_files; vector<string> bmp_files; infile.open("
directorycontents
.txt"); if(!infile.is_open()) { cout << "\aError…
Re: Smalltalk
Programming
Software Development
16 Years Ago
by Killer_Typo
… logDirectory | Transcript clear. logDirectory := 'c:\vw7.4'. contents := logDirectory asFilename
directoryContents
. contents do: [ :each | sFound := each findString: 'ws00' startingAt: 1. eFound…
Re: how to check a text file named directorycontents.txt for filenames extensions
Programming
Software Development
12 Years Ago
by Neon87
[CODE]// reading a text file #include <iostream> #include <fstream> #include <string> using namespace std; int main () { string line;// define a string for the line buffer ifstream myfile ("example.txt"); if (myfile.is_open())// Check if the file is open { while ( myfile.good() )//Check if the …
Re: how to check a text file named directorycontents.txt for filenames extensions
Programming
Software Development
12 Years Ago
by dakerao
Hello thank you so much for that seriously i can learn from this code and do wonders you are a star and deserve a pat on the back! :)
Re: how to check a text file named directorycontents.txt for filenames extensions
Programming
Software Development
12 Years Ago
by WaltP
I'd do something similar to [B]Clinton[/B]'s idea read a line with getline do the find like he does if found do the fprintf there is no need for vectors based on your post and i'm sure they are beyond your knowledge people here think vectors are the best thing since the wheel and never realize that new students probably have never heard of them and…
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Meet People
Forums
Top Members
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC