473,498 Members | 1,714 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

program for webserver log analyser in c++

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
Jul 22 '05 #1
18 1399
prabhu wrote:
please sent me a program for the below mentioned problem.

[SNIP]

This is a joke, yes?

--
WW aka Attila
:::
It's always darkest before dawn. So if you're going to steal the
neighbor's newspaper, that's the time to do it.
Jul 22 '05 #2
White Wolf wrote:
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.


Jul 22 '05 #3
Gianni Mariani wrote:
White Wolf wrote:
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.


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.

--
WW aka Attila
:::
Intel: We put the 'um...' in Pentium.
Jul 22 '05 #4
"White Wolf" <wo***@freemail.hu> wrote in message news:<bv**********@phys-news1.kolumbus.fi>...
prabhu wrote:
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.
Jul 22 '05 #5
Gianni Mariani <gi*******@mariani.ws> wrote in message news:<bv********@dispatch.concentric.net>...
White Wolf wrote:
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.
Jul 22 '05 #6
"White Wolf" <wo***@freemail.hu> wrote in message news:<bv**********@phys-news1.kolumbus.fi>...
prabhu wrote:
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.
Jul 22 '05 #7
"White Wolf" <wo***@freemail.hu> wrote in message news:<bv**********@phys-news1.kolumbus.fi>...
prabhu wrote:
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.
Jul 22 '05 #8
Gianni Mariani <gi*******@mariani.ws> wrote in message news:<bv********@dispatch.concentric.net>...
White Wolf wrote:
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.
Jul 22 '05 #9
Gianni Mariani <gi*******@mariani.ws> wrote in message news:<bv********@dispatch.concentric.net>...
White Wolf wrote:
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.
Jul 22 '05 #10
prabhu wrote:
"White Wolf" <wo***@freemail.hu> wrote in message news:<bv**********@phys-news1.kolumbus.fi>...
prabhu wrote:
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: ab***@vsnl.com
remarks:
------------------------------------------------------------------

Jul 22 '05 #11
prabhu wrote:
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.

Jul 22 '05 #12
prabhu wrote:
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.

--
Mr. Manners
Jul 22 '05 #13
prabhu wrote:
"White Wolf" <wo***@freemail.hu> wrote in message
news:<bv**********@phys-news1.kolumbus.fi>...
prabhu wrote:
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!

--
WW aka Attila
:::
Press any key to continue or any other key to quit...
Jul 22 '05 #14
E. Robert Tisdale wrote:
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.

--
WW aka Attila
:::
Worry does not empty tomorrow of its sorrow. It empties today of its
strength. - Corrie TenBoom
Jul 22 '05 #15
On Sat, 31 Jan 2004 14:38:40 -0500, Gianni Mariani wrote:
White Wolf wrote:
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.


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

Jul 22 '05 #16
White Wolf wrote:
E. Robert Tisdale wrote:
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.


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

--
Phlip
http://www.xpsd.org/cgi-bin/wiki?Tes...UserInterfaces
Jul 22 '05 #17
On Sun, 01 Feb 2004 18:19:20 GMT in comp.lang.c++, "Phlip"
<ph*******@yahoo.com> was alleged to have written:
Hmm. Everyone except E. Robert Tisdale is a troll. Interesting!


Tisdale wouldn't recognize a troll if he was staring
at it in the mirror.

Jul 22 '05 #18
MSG
gp*********@yahoo.co.in (prabhu) wrote in message news:<23**************************@posting.google. com>...
Gianni Mariani <gi*******@mariani.ws> wrote in message news:<bv********@dispatch.concentric.net>...
White Wolf wrote:
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!
Jul 22 '05 #19

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2337
by: Nathan Simpson | last post by:
Hi, Is it possible and how to run a program on our webserver after a file has been uploaded? This is all server based. We have a requirement that an end user uploads a file to our web server....
3
1066
by: prabhu | last post by:
please send me a program for performing operation such as sort,write,read,count, display for a web server log files operating system :win 98 compiler :turboc++ thank you for considering my...
1
314
by: Peter Avalos | last post by:
My goal is to create a remote installation program to rollout program installs and updates. We're a small company with about 60 workstations, so it's not worth the investment in SMS. I have the...
4
1751
by: Dev | last post by:
Can you please tell me what C# code analyser do you use. Is devAdvantage the best? Do you use FxCop as well in conjunction with statis code analyser? Is it good practise to use Obfuscator? ...
5
1689
by: James | last post by:
Hi, I working on an ASP .NET project, in this project I need to link my project with another program to retrieve data, how can I do that? I have access to source code of the other program where...
1
1582
by: Hollywood | last post by:
Hello dear membres of the comp.unix.programmer. Please , I've got the following question to submit and I need your help. Here below you'll find a lexical and a syntaxic analysers. The lexical...
2
2311
by: Frank-René Schäfer | last post by:
penSource Project 'Quex': http://quex.sf.net Last weekend, the lexical analyser generator 'Quex' has been released on SourceForge. Quex provides advanced features for mode definitions and...
1
1952
by: spamblock99 | last post by:
Quick question that I have not been able to find much info on so I already have my doubts.. Is Javascript able to execute a program that is already installed on the computer (either server or...
7
1737
by: LaMoRt | last post by:
Hi there! Is there any way to find the user who did some transaction of update in query analyser in certain time ? The update was done manually in query analyser and is not through system....
0
7125
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7165
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7205
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7379
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
4910
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4590
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3085
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1419
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
291
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.