program for webserver log analyser in c++

From: prabhu (gprabhu_mdu_at_yahoo.co.in)
Date: 01/31/04


Date: 31 Jan 2004 09:25:45 -0800

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



Relevant Pages

  • Re: Fantasy Books not set in pseudo-Europe
    ... looking for this sort of thing and haven't read those, ... you have to go to the entries on the 1001 Nights and on "Persia" ... <Wheel of the Infinite> ... Fantasy rooted in no particular Earth historical culture is not, ...
    (rec.arts.sf.written)
  • How to sort the variable length objects in Lexicographical order?
    ... I am involved in the Agent development for providing the support for ... about the lexicographic ordering of the table entries with respect to ... Because we need to sort the connection table based on four parameters ...
    (comp.protocols.snmp)
  • Re: What is the fastest way to determine if folder has subfolders or not!?
    ... | This sort of stuff does work very nicely, and is a good way of storing ... in binary tree search on 6000 entries would take 12 steps. ... for faster getting of free units, and if there is none free, using last unit offset + 1)... ... I sew VMWare has sdk for their disk format maybe beter idea would be to use their disk driver and sdk for such job. ...
    (microsoft.public.vb.winapi)
  • Re: read directory in alpha order
    ... I generally do this sort of thing in python although one could do ... for entry in entries: ...
    (comp.unix.sco.programmer)
  • Re: sorting data
    ... Now sort by the min date field with a secondary sort of Product number and a ... > (there are other columns representing information that is irrelevant) ... > The report contains several hundred rows of entries. ...
    (microsoft.public.excel)