sampath

Discussion in 'Meet and Greet' started by sun123123, Dec 29, 2010.

  1. sun123123

    sun123123 New Member

    Joined:
    Dec 29, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    :crazy:
    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
     
  2. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,375
    Likes Received:
    388
    Trophy Points:
    83
    Any reason to post this in C-C++ forum
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice