How to scramble the lines of a txt file
ExSan++ 1 ///---------Today's ExSan Code---------------------- 2 // How to scramble the lines of a txt file 3 const string dbFile = " ... stocki.txt"; // source 4 string dbScrambledFile = " ... stockScrambled.txt"; // destination 5 6 fstream ffrom, fto; 7 vector fileLine; 8 string line; 9 unsigned short lineCounter(0); 10 ffrom.open(dbFile, ios::in); 11 if (!ffrom) {// source 12 ...