sun123123's Avatar, Join Date: Dec 2010
Newbie Member

read lines form a text file which might have 100-200 lines in it

segregate the data based on the first charater of each line and write the data into separate files i.e al the lines starting with alphabet a or A should be in file Aa.txt. if output file exits append the new records

the data (newly entered and appeneded ) in each individual file should be sorted in the ascending order of characters

the processing of the input file should be multithreaded

the input file name, number of threads to be instantiated and the output folder name should be accepted as cmd line argument
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
Any reason to post this in C-C++ forum