how to check a text file named directorycontents.txt for filenames extensions Programming Software Development 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 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 by Clinton Portis …> doc_files; vector<string> bmp_files; infile.open("directorycontents.txt"); if(!infile.is_open()) { cout << "\aError… Re: Smalltalk Programming Software Development 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 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 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 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…