P
prabhu
please sent me a program for the below mentioned problem.
The program should perform the following functions.
1.sort 2.display 3.count 4.read 5.write
the sample of input is
52.163.188.194 - - [30/Nov/2001:02:22:56 -0500] "GET
/soar/Classes/494/ball.gif HTTP/1.0" 200 920 "-" "Java 1.1"
152.163.188.197 - - [30/Nov/2001:02:22:55 -0500] "GET
/soar/Classes/494/Block.class HTTP/1.0" 200 1002 "-" "Java 1.1"
132.170.107.229 - - [30/Nov/2001:02:22:54 -0500] "GET /images/home.gif
HTTP/1.1" 200 402 "http://www.friendly.autograde.com/people/alumni.php"
"Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)"
if sort depending on the type of piece of info it should sort.
the above input file contain 9 pieces of information
syntax: sort <sort order>
if read should display the good count entries i.e they should have 9
piece of info.
if write should write into a file the good count entries
the concept is that to use map and vector for storage
operating system :windows 98
compiler :turboc++ compiler
I thank you a lot for considering my mail.
G.Prabhu
The program should perform the following functions.
1.sort 2.display 3.count 4.read 5.write
the sample of input is
52.163.188.194 - - [30/Nov/2001:02:22:56 -0500] "GET
/soar/Classes/494/ball.gif HTTP/1.0" 200 920 "-" "Java 1.1"
152.163.188.197 - - [30/Nov/2001:02:22:55 -0500] "GET
/soar/Classes/494/Block.class HTTP/1.0" 200 1002 "-" "Java 1.1"
132.170.107.229 - - [30/Nov/2001:02:22:54 -0500] "GET /images/home.gif
HTTP/1.1" 200 402 "http://www.friendly.autograde.com/people/alumni.php"
"Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0)"
if sort depending on the type of piece of info it should sort.
the above input file contain 9 pieces of information
syntax: sort <sort order>
if read should display the good count entries i.e they should have 9
piece of info.
if write should write into a file the good count entries
the concept is that to use map and vector for storage
operating system :windows 98
compiler :turboc++ compiler
I thank you a lot for considering my mail.
G.Prabhu