Go4Expert (http://www.go4expert.com/)
-   Meet and Greet (http://www.go4expert.com/community/meet-and-greet/)
-   -   sampath (http://www.go4expert.com/community/sampath-t24304/)

sun123123 29Dec2010 10:52

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 30Dec2010 16:54

Re: sampath
Any reason to post this in C-C++ forum

All times are GMT +5.5. The time now is 19:25.