![]() Std::transform(Profile_Container.begin(), Profile_Container.end(), Profile_Container.begin(), ::tolower) // convert all data to lowerįout<<Profile_Container<< " \t"<<Profile_Container<< " \t"<<Profile_Container<< " \n" // write to file Std::size_t found = str2.find(str) // substring comparison if (found!=std:: string::npos) // if its exe then it writes in Dxout for same app name on new line Token = wcstok( 0, DELIMITER) // subsequent tokens if (!token) break // no more tokens Token = wcstok(buf, DELIMITER) // first token if (token) // zero if line is blankįor (n = 0 n < MAX_TOKENS_PER_LINE n++) // setting n=0 as we want to ignore the first token parse the line into blank-delimited tokens int n = 0 // a for-loop index // array to store memory addresses of the tokens in buf const wchar_t* token = // initialize to 0 // parse the line Wofstream fout( " out.txt") // this dumps the parsing ouput // read each line of the file while (!fin.eof()) ![]() Wifstream fin.open( " profiles.prd") // open a file Const wchar_t* const DELIMITER = L " \""
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |