program for webserver log analyser in c++

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
 
G

Gianni Mariani

White said:
prabhu said:
please sent me a program for the below mentioned problem.

[SNIP]

This is a joke, yes?

Nope - I don't think so :)

While you're at it, can you get me some code that writes the next works
of William Shakespeare ? Or better yet, somthing that will create the
next music hit.
 
W

White Wolf

Gianni said:
White said:
prabhu said:
please sent me a program for the below mentioned problem.

[SNIP]

This is a joke, yes?

Nope - I don't think so :)

While you're at it, can you get me some code that writes the next works
of William Shakespeare ? Or better yet, somthing that will create the
next music hit.

Sure I can. Please download my open source Monkey and Typewriter classes.
Instantiate few billion std::pair of them and then call the RandomType()
member of Monkey. It is proven that the next works of William Shakespeare
will be produced by one the the pairs. :)

For the next music hit I can just come up with the title: doooo my job for
meee! Ohhh yeahh.
 
P

prabhu

White Wolf said:
prabhu said:
please sent me a program for the below mentioned problem.
[SNIP]

This is a joke, yes?
yeah are you mad if you can send me else just ignore it
i doesn't force you to send me the reply
from this message i had understand that you are a fool and you
would not be able to answer any questions if still you answer it is that
you are answering by stealing someone's.you fool i don't want to hear anything
else from you.
 
P

prabhu

Gianni Mariani said:
White said:
prabhu said:
please sent me a program for the below mentioned problem.

[SNIP]

This is a joke, yes?

Nope - I don't think so :)

While you're at it, can you get me some code that writes the next works
of William Shakespeare ? Or better yet, somthing that will create the
next music hit.
yeah are you mad if you can send me else just ignore it
i doesn't force you to send me the reply
from this message i had understand that you are a fool and you
would not be able to answer any questions if still you answer it is that
you are answering by stealing someone's.you fool i don't want to hear anything
else from you.
 
P

prabhu

White Wolf said:
prabhu said:
please sent me a program for the below mentioned problem.
[SNIP]

This is a joke, yes?
yeah are you mad if you can send me else just ignore it
i doesn't force you to send me the reply
from this message i had understand that you are a fool and you
would not be able to answer any questions if still you answer it is that
you are answering by stealing someone's.you fool i don't want to hear anything
else from you.
 
P

prabhu

White Wolf said:
prabhu said:
please sent me a program for the below mentioned problem.
[SNIP]

This is a joke, yes?

yeah are you mad if you can send me else just ignore it
i doesn't force you to send me the reply
from this message i had understand that you are a fool and you
would not be able to answer any questions if still you answer it is that
you are answering by stealing someone's.you fool i don't want to hear anything
else from you.
 
P

prabhu

Gianni Mariani said:
White said:
prabhu said:
please sent me a program for the below mentioned problem.

[SNIP]

This is a joke, yes?

Nope - I don't think so :)

While you're at it, can you get me some code that writes the next works
of William Shakespeare ? Or better yet, somthing that will create the
next music hit.
yeah are you mad if you can send me else just ignore it
i doesn't force you to send me the reply
from this message i had understand that you are a fool and you
would not be able to answer any questions if still you answer it is that
you are answering by stealing someone's.you fool i don't want to hear anything
else from you.
 
P

prabhu

Gianni Mariani said:
White said:
prabhu said:
please sent me a program for the below mentioned problem.

[SNIP]

This is a joke, yes?

Nope - I don't think so :)

While you're at it, can you get me some code that writes the next works
of William Shakespeare ? Or better yet, somthing that will create the
next music hit.
yeah are you mad if you can send me else just ignore it
i doesn't force you to send me the reply
from this message i had understand that you are a fool and you
would not be able to answer any questions if still you answer it is that
you are answering by stealing someone's.you fool i don't want to hear anything
else from you.
 
E

E. Robert Tisdale

prabhu said:
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

I see that you have already met our indigenous trolls.
If you stick around, you will learn to recognize and ignore them.

The comp.lang.c++ newsgroup is a good place to get bad advice
about programs for any particular application or platform.
You might try asking in a windows or turboc++ specific newsgroup.
I used Google

http://www.google.com/

to search for

+"web server log analyzer" +"C++"

and found lots of stuff.
 
L

lilburne

prabhu said:
White Wolf said:
prabhu said:
please sent me a program for the below mentioned problem.

[SNIP]

This is a joke, yes?


yeah are you mad if you can send me else just ignore it
i doesn't force you to send me the reply
from this message i had understand that you are a fool and you
would not be able to answer any questions if still you answer it is that
you are answering by stealing someone's.you fool i don't want to hear anything
else from you.

inetnum: 203.199.207.0 - 203.199.207.127
netname: SOUTHERN_RAILWAY-CHN
descr: Leased line at CHENNAI - southern railway
country: IN
admin-c: IA15-AP
tech-c: VT43-AP
remarks:
------------------------------------------------------------------
remarks: for abuse and spam related complaints and
queries please contact:
remarks: (e-mail address removed)
remarks:
------------------------------------------------------------------
 
P

Phlip

prabhu said:
yeah are you mad if you can send me else just ignore it
i doesn't force you to send me the reply
from this message i had understand that you are a fool and you
would not be able to answer any questions if still you answer it is that
you are answering by stealing someone's.you fool i don't want to hear anything
else from you.

Mr. Manners reminds the Gentle Poster that asking a newsgroup for >20 hours
of labor (including digging up obsolete compilers & platforms), for free, is
not guaranteed to win friends or influence people.

BTW because your log is a flat file, CygWin's sort command will work fine.
Unless you are too lazy to install it and learn to use it without free help.
 
W

White Wolf

prabhu said:
White Wolf said:
prabhu said:
please sent me a program for the below mentioned problem.
[SNIP]

This is a joke, yes?
yeah are you mad if you can send me else just ignore it
i doesn't force you to send me the reply
from this message i had understand that you are a fool and you
would not be able to answer any questions if still you answer it is that
you are answering by stealing someone's.you fool i don't want to hear
anything
else from you.

So just to make sure you feel bad, you will hear from me. Go back to the
kindergarden pal, you "graduated" too early!
 
W

White Wolf

E. Robert Tisdale said:
I see that you have already met our indigenous trolls.
If you stick around, you will learn to recognize and ignore them.

You call me troll??? You must be out of your mind. Just look around in the
posting, whom are you supporting so warmly. If you seriously think that the
topic of this newsgroup shall be: "make my job for me for free" then you are
better off rethink it, because I am damn sure there are very few people here
who think this would be the right way to go.
 
M

Martijn Lievaart

White said:
prabhu said:
please sent me a program for the below mentioned problem.

[SNIP]

This is a joke, yes?

Nope - I don't think so :)

While you're at it, can you get me some code that writes the next works
of William Shakespeare ? Or better yet, somthing that will create the
next music hit.

Getting the next Shakespeare might prove something of a challenge. Thanks
to usenet we now have a million monkeys with typewriters, but still no
Shakespeare. :)

M4
 
P

Phlip

White said:
You call me troll??? You must be out of your mind. Just look around in the
posting, whom are you supporting so warmly. If you seriously think that the
topic of this newsgroup shall be: "make my job for me for free" then you are
better off rethink it, because I am damn sure there are very few people here
who think this would be the right way to go.

Hmm. Everyone except E. Robert Tisdale is a troll. Interesting!
 
M

MSG

Gianni Mariani said:
White said:
prabhu wrote:

please sent me a program for the below mentioned problem.

[SNIP]

This is a joke, yes?

Nope - I don't think so :)

While you're at it, can you get me some code that writes the next works
of William Shakespeare ? Or better yet, somthing that will create the
next music hit.
yeah are you mad if you can send me else just ignore it
i doesn't force you to send me the reply
from this message i had understand that you are a fool and you
would not be able to answer any questions if still you answer it is that
you are answering by stealing someone's.you fool i don't want to hear anything
else from you.

This is by far the most hilarious USENET message I've read in months!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,768
Messages
2,569,575
Members
45,053
Latest member
billing-software

Latest Threads

Top