Connecting Tech Pros Worldwide Help | Site Map

Regading interview Question.

  #1  
Old January 25th, 2006, 06:25 AM
skishorev@yahoo.co.in
Guest
 
Posts: n/a
Hi,
Yesterday my friend had taken interview in Microsft.If u know this
Plz answer this


main() // line 1
{
printf("TWO");
} //line4

U don't change from line1 to line4. u will add anything before the
main function only.
write the solution with 10 ways.
We want the ouput is->

One
Two
Three

  #2  
Old January 25th, 2006, 06:25 AM
Shark
Guest
 
Posts: n/a

re: Regading interview Question.



skisho...@yahoo.co.in wrote:[color=blue]
> Hi,
> Yesterday my friend had taken interview in Microsft.If u know this
> Plz answer this
>
>
> main() // line 1[/color]

this is undefined because it is not a standard main() function. It
should return an int at least.
[color=blue]
> {
> printf("TWO");
> } //line4
>
> U don't change from line1 to line4. u will add anything before the[/color]

if it is c++, just create a static object whose constructor prints the
strings and initialize it before entering main();
[color=blue]
> main function only.
> write the solution with 10 ways.
> We want the ouput is->
>
> One
> Two
> Three[/color]

  #3  
Old January 25th, 2006, 06:25 AM
skishorev@yahoo.co.in
Guest
 
Posts: n/a

re: Regading interview Question.


Yes It is in c++ only.

  #4  
Old January 25th, 2006, 06:35 AM
Shark
Guest
 
Posts: n/a

re: Regading interview Question.


skishorev@yahoo.co.in wrote:[color=blue]
> Hi,
> Yesterday my friend had taken interview in Microsft.If u know this
> Plz answer this[/color]

I wonder why everyone with an email addresses ending in .co.in speaks
in "Plz" and "U". Is this some sort of L33T Indian English??!!!

  #5  
Old January 25th, 2006, 07:15 AM
Clem.Dickey@gmail.com
Guest
 
Posts: n/a

re: Regading interview Question.


I might put these lines at the top:

int main() { printf( "One\nTwo\n ..." ); return 0; }
int this_fn_is_not_\

  #6  
Old January 25th, 2006, 07:15 AM
Jaspreet
Guest
 
Posts: n/a

re: Regading interview Question.


skishorev@yahoo.co.in wrote:[color=blue]
> Hi,
> Yesterday my friend had taken interview in Microsft.If u know this
> Plz answer this
>
>
> main() // line 1
> {
> printf("TWO");
> } //line4
>
> U don't change from line1 to line4. u will add anything before the
> main function only.
> write the solution with 10 ways.
> We want the ouput is->
>
> One
> Two
> Three[/color]

Kishore, you should have given it a shot yourself instead of asking
this group. Here's the solution (even though I hate spoon-feeding
someone)

#include<iostream>

class A
{
public:
A()
{
std::cout<<"One";
}
~A()
{
std::cout<<"Three";
}
};

A a1;

int main()
{
std::cout<<"Two";
return 0;
}

  #7  
Old January 25th, 2006, 07:25 AM
Jaspreet
Guest
 
Posts: n/a

re: Regading interview Question.


Shark wrote:[color=blue]
> skishorev@yahoo.co.in wrote:[color=green]
> > Hi,
> > Yesterday my friend had taken interview in Microsft.If u know this
> > Plz answer this[/color]
>
> I wonder why everyone with an email addresses ending in .co.in speaks
> in "Plz" and "U". Is this some sort of L33T Indian English??!!![/color]

I may not be having a co.in email id but I am from India so lets not go
off-topic and start generalising things about people.

Usage of those words is a result of the SMS lingo and I certainly do
not approve of that. I have pointed that out in a couple of yahoogroups
also.

So, lets be clear its not all Indians but only a negligible minority
that needs to be told about basic rules of posting to a newsgroup.

  #8  
Old January 25th, 2006, 07:35 AM
yanamandra
Guest
 
Posts: n/a

re: Regading interview Question.



Hi,

Use this.

#define printf(aa) (printf("\nONE\n" "%s" "\nTHREE\n", aa) )

main()
{
printf("TWO");

}

Thanks,
Venu Yanamandra

====
Hi,
Yesterday my friend had taken interview in Microsft.If u know this

Plz answer this


main() // line 1
{
printf("TWO");



} //line4


U don't change from line1 to line4. u will add anything before the
main function only.
write the solution with 10 ways.
We want the ouput is->

One
Two
Three

====

  #9  
Old January 25th, 2006, 08:05 AM
Shark
Guest
 
Posts: n/a

re: Regading interview Question.


Jaspreet wrote:[color=blue]
> Shark wrote:[color=green]
> > skishorev@yahoo.co.in wrote:[color=darkred]
> > > Hi,
> > > Yesterday my friend had taken interview in Microsft.If u know this
> > > Plz answer this[/color]
> >
> > I wonder why everyone with an email addresses ending in .co.in speaks
> > in "Plz" and "U". Is this some sort of L33T Indian English??!!![/color]
>
> I may not be having a co.in email id but I am from India so lets not go
> off-topic and start generalising things about people.[/color]

Yea lets not go off topic, but you can go fuck yourself. What part of
"wonder' didn't you understand?
[color=blue]
>
> Usage of those words is a result of the SMS lingo and I certainly do
> not approve of that. I have pointed that out in a couple of yahoogroups
> also.[/color]

Good for you. Don't ever turn to the dark side.
[color=blue]
>
> So, lets be clear its not all Indians but only a negligible minority
> that needs to be told about basic rules of posting to a newsgroup.[/color]

Go fuck yourself with Stroustrup's mouse.

  #10  
Old January 25th, 2006, 08:35 AM
benben
Guest
 
Posts: n/a

re: Regading interview Question.


In addition, here are a couple more solutions:

/////////////////////////////////////////
// Solution #1

#include <iostream>

namespace whatever{ // or class or struct
void main(void);
};

int main(void)
{
std::cout << "One\nTwo\nThree\n";
}

void whatever::

main() // line 1
{
printf("TWO");
} //line4



/////////////////////////////////////////
// Solution #2

#include <iostream>

int main(void)
{
std::cout << "One\nTwo\nThree\n";
}

#define main whatever
void

main() // line 1
{
printf("TWO");
} //line4


/////////////////////////////////////////
// Solution #3

#include <cstdlib>
#include <iostream>

class whatever{
public:
whatever(){
std::cout << "One\nTwo\nThree\n";
std::exit(0);
}
};

whatever smash_main_please;

int

main() // line 1
{
printf("TWO");
} //line4




Regards,
Ben
  #11  
Old January 25th, 2006, 08:55 AM
John Carson
Guest
 
Posts: n/a

re: Regading interview Question.


"Shark" <cpp_shark@yahoo.com> wrote in message
news:1138175581.797163.43040@g49g2000cwa.googlegro ups.com

[abusive comments snipped]

Your reaction to a quite reasonable post complaining about stereotyping is
completely over the top and offensive.

--
John Carson


  #12  
Old January 25th, 2006, 09:05 AM
Sunil Varma
Guest
 
Posts: n/a

re: Regading interview Question.



John Carson wrote:[color=blue]
> "Shark" <cpp_shark@yahoo.com> wrote in message
> news:1138175581.797163.43040@g49g2000cwa.googlegro ups.com
>
> [abusive comments snipped]
>
> Your reaction to a quite reasonable post complaining about stereotyping is
> completely over the top and offensive.
>
> --
> John Carson[/color]

Here is one more solution.

/////////////////////
Solution #1
/////////////////////
#include<iostream>
#include<cstdio>
#include<cstdlib>
void fun()
{
printf("Three\n");
}
class base
{
public:
base()
{
atexit(fun);
std::cout<<"One\n";
}
};
base obj;
main()
{
printf("Two\n");
}

  #13  
Old January 25th, 2006, 09:05 AM
Shark
Guest
 
Posts: n/a

re: Regading interview Question.


John Carson wrote:[color=blue]
> "Shark" <cpp_shark@yahoo.com> wrote in message
> news:1138175581.797163.43040@g49g2000cwa.googlegro ups.com
>
> [abusive comments snipped]
>
> Your reaction to a quite reasonable post complaining about stereotyping is
> completely over the top and offensive.[/color]

you got it!
[color=blue]
>
> --
> John Carson[/color]

  #14  
Old January 25th, 2006, 09:35 AM
kalyan
Guest
 
Posts: n/a

re: Regading interview Question.


Hi all,
Here is one solution
#define printf("Two") printf("one,Two,three")
main()
{
printf("two");
}

Clem.Dickey@gmail.com wrote:[color=blue]
> I might put these lines at the top:
>
> int main() { printf( "One\nTwo\n ..." ); return 0; }
> int this_fn_is_not_\[/color]

  #15  
Old January 25th, 2006, 09:55 AM
Ian Collins
Guest
 
Posts: n/a

re: Regading interview Question.


Shark wrote:[color=blue]
> Jaspreet wrote:
>[color=green]
>>Shark wrote:
>>[color=darkred]
>>>skishorev@yahoo.co.in wrote:
>>>
>>>>Hi,
>>>> Yesterday my friend had taken interview in Microsft.If u know this
>>>>Plz answer this
>>>
>>>I wonder why everyone with an email addresses ending in .co.in speaks
>>>in "Plz" and "U". Is this some sort of L33T Indian English??!!![/color]
>>
>>I may not be having a co.in email id but I am from India so lets not go
>>off-topic and start generalising things about people.[/color]
>
>
> Yea lets not go off topic, but you can go[/color]

Pubs close early did they?

Go some place else to post your abuse.

--
Ian Collins.
  #16  
Old January 25th, 2006, 10:35 AM
Shark
Guest
 
Posts: n/a

re: Regading interview Question.


Ian Collins wrote:[color=blue]
> Shark wrote:[color=green]
> > Jaspreet wrote:
> >[color=darkred]
> >>Shark wrote:
> >>
> >>>skishorev@yahoo.co.in wrote:
> >>>
> >>>>Hi,
> >>>> Yesterday my friend had taken interview in Microsft.If u know this
> >>>>Plz answer this
> >>>
> >>>I wonder why everyone with an email addresses ending in .co.in speaks
> >>>in "Plz" and "U". Is this some sort of L33T Indian English??!!!
> >>
> >>I may not be having a co.in email id but I am from India so lets not go
> >>off-topic and start generalising things about people.[/color]
> >
> >
> > Yea lets not go off topic, but you can go[/color]
>
> Pubs close early did they?
>
> Go some place else to post your abuse.[/color]

oh yea i took care of that already.
[color=blue]
>
> --
> Ian Collins.[/color]

  #17  
Old January 25th, 2006, 05:55 PM
Ron Natalie
Guest
 
Posts: n/a

re: Regading interview Question.


Shark wrote:[color=blue]
> skisho...@yahoo.co.in wrote:[color=green]
>> Hi,
>> Yesterday my friend had taken interview in Microsft.If u know this
>> Plz answer this
>>
>>
>> main() // line 1[/color]
>
> this is undefined because it is not a standard main() function. It
> should return an int at least.[/color]

It's not even a well-formed definition of any function, C or C++.
Neither language has implicit int in the current incarnations.
[color=blue]
>[/color]
  #18  
Old January 25th, 2006, 06:05 PM
Default User
Guest
 
Posts: n/a

re: Regading interview Question.


Shark wrote:

[color=blue]
> Yea lets not go off topic, but you can go fuck yourself. What part of
> "wonder' didn't you understand?[/color]


Oh, that's a plonk for you.


Brian
  #19  
Old January 25th, 2006, 09:55 PM
Shark
Guest
 
Posts: n/a

re: Regading interview Question.


Default User wrote:[color=blue]
> Shark wrote:
>
>[color=green]
> > Yea lets not go off topic, but you can go fuck yourself. What part of
> > "wonder' didn't you understand?[/color]
>
>
> Oh, that's a plonk for you.
>
>
> Brian[/color]

For behold, the default knight in shining armor cometh out of his place
to visit the iniquity of the inhabitants of comp.lang.c++ upon them;
and the newsgroup shall disclose its blood, and shall no more cover it
slain.

How good it feels to send the "Oh, that's a plonk for you" over the
internet! I bet your poor soul is a bitch to a supervisor who is
smarter than you.

There are so many email addresses possible that I can come back with a
different alias and ip address each time and you'd again be whoring
with your mustard-seed-sized-knowledge over a post I made because that
is one of the few ways you can feed your ego. You scumbag! Your parents
never thought highly of you. You are dying to lead because you were
always a follower. Shove that keyboard up your cars!!!

  #20  
Old January 26th, 2006, 03:55 AM
roberts.noah@gmail.com
Guest
 
Posts: n/a

re: Regading interview Question.



Shark wrote:[color=blue]
> Default User wrote:[color=green]
> > Shark wrote:
> >
> >[color=darkred]
> > > Yea lets not go off topic, but you can go fuck yourself. What part of
> > > "wonder' didn't you understand?[/color]
> >
> >
> > Oh, that's a plonk for you.
> >
> >
> > Brian[/color]
>
> Blah blah blah blah blah....blah blah....I'm a whiny bitch.....blah blah blah blah....[/color]

  #21  
Old January 26th, 2006, 04:25 AM
davidrubin@warpmail.net
Guest
 
Posts: n/a

re: Regading interview Question.



yanamandra wrote:[color=blue]
> Hi,
>
> Use this.
>
> #define printf(aa) (printf("\nONE\n" "%s" "\nTHREE\n", aa) )
>
> main()
> {
> printf("TWO");
>
> }
>
> Thanks,
> Venu Yanamandra[/color]

When we ask this kind of question at my firm, this answer is considered
to change one of lines 1-4, which is disallowed. You must answer the
question without actually affecting lines 1-4.

  #22  
Old January 26th, 2006, 04:45 AM
BradB
Guest
 
Posts: n/a

re: Regading interview Question.


Shark wrote:
[color=blue][color=green]
> > Shark wrote:
> >
> >[color=darkred]
> > > Yea lets not go off topic, but you can go fuck yourself. What part of
> > > "wonder' didn't you understand?[/color][/color]
>
> For behold, the default knight in shining armor cometh out of his place
> to visit the iniquity of the inhabitants of comp.lang.c++ upon them;
> and the newsgroup shall disclose its blood, and shall no more cover it
> slain.
>
> How good it feels to send the "Oh, that's a plonk for you" over the
> internet! I bet your poor soul is a bitch to a supervisor who is
> smarter than you.
>
> There are so many email addresses possible that I can come back with a
> different alias and ip address each time and you'd again be whoring
> with your mustard-seed-sized-knowledge over a post I made because that
> is one of the few ways you can feed your ego. You scumbag! Your parents
> never thought highly of you. You are dying to lead because you were
> always a follower. Shove that keyboard up your cars!!![/color]

You know, Craig, Usenet is not as anonymous as you seem to think.

-BB

  #23  
Old January 26th, 2006, 07:45 AM
Shark
Guest
 
Posts: n/a

re: Regading interview Question.


BradB wrote:[color=blue]
> Shark wrote:
>[color=green][color=darkred]
> > > Shark wrote:
> > >
> > >
> > > > Yea lets not go off topic, but you can go fuck yourself. What part of
> > > > "wonder' didn't you understand?[/color]
> >
> > For behold, the default knight in shining armor cometh out of his place
> > to visit the iniquity of the inhabitants of comp.lang.c++ upon them;
> > and the newsgroup shall disclose its blood, and shall no more cover it
> > slain.
> >
> > How good it feels to send the "Oh, that's a plonk for you" over the
> > internet! I bet your poor soul is a bitch to a supervisor who is
> > smarter than you.
> >
> > There are so many email addresses possible that I can come back with a
> > different alias and ip address each time and you'd again be whoring
> > with your mustard-seed-sized-knowledge over a post I made because that
> > is one of the few ways you can feed your ego. You scumbag! Your parents
> > never thought highly of you. You are dying to lead because you were
> > always a follower. Shove that keyboard up your cars!!![/color]
>
> You know, Craig, Usenet is not as anonymous as you seem to think.[/color]

nice try. BTW I live 20 minutes north of San Jose.
[color=blue]
>
> -BB[/color]

  #24  
Old January 26th, 2006, 10:35 AM
benben
Guest
 
Posts: n/a

re: Regading interview Question.


> Pubs close early did they?[color=blue]
>
> Go some place else to post your abuse.
>[/color]

Oh hold your blame please! Unacceptably rude as shark may have been, he
might have a reason to be rude. How do you know he didn't have a bad
day? Perhaps his house was burnt, or his car crashed, or he just
divorced, or he was disadvantaged for bodily or non-bodily reasons...He
might have one or more of the above or maybe even worse, but how do you
know?! Perhaps comp.lang.c++ is the only place he can have a little bit
of release. Life's give and forgive, and so let's forgive this troubled
(for whatever reason) man in this thread.

Ben
  #25  
Old January 26th, 2006, 11:25 AM
Kai-Uwe Bux
Guest
 
Posts: n/a

re: Regading interview Question.


benben wrote:
[color=blue][color=green]
> > Pubs close early did they?
> >
> > Go some place else to post your abuse.
> >[/color]
>
> Oh hold your blame please! Unacceptably rude as shark may have been, he
> might have a reason to be rude. How do you know he didn't have a bad
> day? Perhaps his house was burnt, or his car crashed, or he just
> divorced, or he was disadvantaged for bodily or non-bodily reasons...He
> might have one or more of the above or maybe even worse, but how do you
> know?! Perhaps comp.lang.c++ is the only place he can have a little bit
> of release.[/color]

Those are not reasons that would *justify* being rude. Those would only
*explain* rude behavior and maybe excuse it.

[color=blue]
> Life's give and forgive, and so let's forgive this troubled
> (for whatever reason) man in this thread.[/color]

a) From the way he responded to criticism, it does not look like he has a
need to be forgiven.

b) Why should others (prematurely) forgive without being offered an apology
first?


Best

Kai-Uwe Bux

  #26  
Old January 26th, 2006, 11:35 AM
John Carson
Guest
 
Posts: n/a

re: Regading interview Question.


"benben" <benhongh@yahoo.com.au> wrote in message
news:43d8a410$0$25697$afc38c87@news.optusnet.com.a u[color=blue][color=green]
>> Pubs close early did they?
>>
>> Go some place else to post your abuse.
>>[/color]
>
> Oh hold your blame please! Unacceptably rude as shark may have been,
> he might have a reason to be rude. How do you know he didn't have a
> bad day? Perhaps his house was burnt, or his car crashed, or he just
> divorced, or he was disadvantaged for bodily or non-bodily
> reasons...He might have one or more of the above or maybe even worse,
> but how do you know?! Perhaps comp.lang.c++ is the only place he can
> have a little bit of release. Life's give and forgive, and so let's
> forgive this troubled (for whatever reason) man in this thread.[/color]


Curious that you can come up with imaginative excuses for shark but
apparently can't come up with any for Ian. Apparently telling someone to
"fuck yourself" is OK, but telling someone not to post abuse is
unacceptable. You have a very strange set of values.

I don't know if it is a full moon or something, but the posts in the last
week or so in comp.lang.c++ have been quite bizarre.

--
John Carson


  #27  
Old January 26th, 2006, 12:25 PM
Geo
Guest
 
Posts: n/a

re: Regading interview Question.



skishorev@yahoo.co.in wrote:[color=blue]
> Hi,
> Yesterday my friend had taken interview in Microsft.If u know this
> Plz answer this
>
>
> main() // line 1
> {
> printf("TWO");
> } //line4
>
> U don't change from line1 to line4. u will add anything before the
> main function only.
> write the solution with 10 ways.
> We want the ouput is->
>
> One
> Two[/color]
i> Three

This works for me

void printf(char *)
{
std::cout << "One\nTwo\nThree\n";
}

int main() // line 1
{
printf("TWO");
} //line4

  #28  
Old January 26th, 2006, 12:25 PM
BradB
Guest
 
Posts: n/a

re: Regading interview Question.


Shark wrote:
[color=blue][color=green]
> > You know, Craig, Usenet is not as anonymous as you seem to think.[/color]
>
> nice try. BTW I live 20 minutes north of San Jose.[/color]

Thanks, Craig. According to google,

http://www.pych-one.com/new-4881342-4811.html
http://tinyurl.com/8qfuc
http://www.ulitka.com/usenet/index.p...2/0/#msg_50892

-BB

  #29  
Old January 26th, 2006, 01:45 PM
BradB
Guest
 
Posts: n/a

re: Regading interview Question.


Shark wrote:
[color=blue][color=green]
> > You know, Craig, Usenet is not as anonymous as you seem to think.[/color]
>
> nice try. BTW I live 20 minutes north of San Jose.[/color]

Thanks, Craig. According to google,

http://www.pych-one.com/new-4881342-4811.html
http://tinyurl.com/8qfuc
http://www.ulitka.com/usenet/index.p...2/0/#msg_50892

-BB

  #30  
Old January 26th, 2006, 02:25 PM
JustBoo
Guest
 
Posts: n/a

re: Regading interview Question.


On Thu, 26 Jan 2006 22:26:12 +1100, "John Carson"
<jcarson_n_o_sp_am_@netspace.net.au> wrote:
[color=blue]
>I don't know if it is a full moon or something, but the posts in the last
>week or so in comp.lang.c++ have been quite bizarre.[/color]

Variety is the spice of life. Better than deadly-dull.

"For the times they are a-changin’."
- Bob Dylan
  #31  
Old January 26th, 2006, 03:35 PM
rohit.trip@gmail.com
Guest
 
Posts: n/a

re: Regading interview Question.


BradB wrote:[color=blue]
> Shark wrote:
>[color=green][color=darkred]
> > > You know, Craig, Usenet is not as anonymous as you seem to think.[/color]
> >
> > nice try. BTW I live 20 minutes north of San Jose.[/color]
>
> Thanks, Craig. According to google,
>
> http://www.pych-one.com/new-4881342-4811.html
> http://tinyurl.com/8qfuc
> http://www.ulitka.com/usenet/index.p...2/0/#msg_50892
>[/color]

Only an idiot hiding behind a one day old email address can assume that
Craig was unware of deja and google during the past 4 years. Ever read
2600? Draw your own conclusions you id n00b!!!
[color=blue]
> -BB[/color]

  #32  
Old January 26th, 2006, 04:35 PM
Shark
Guest
 
Posts: n/a

re: Regading interview Question.


BradB wrote:[color=blue]
> Shark wrote:
>[color=green][color=darkred]
> > > You know, Craig, Usenet is not as anonymous as you seem to think.[/color]
> >
> > nice try. BTW I live 20 minutes north of San Jose.[/color]
>
> Thanks, Craig. According to google,
>
> http://www.pych-one.com/new-4881342-4811.html
> http://tinyurl.com/8qfuc
> http://www.ulitka.com/usenet/index.p...2/0/#msg_50892
>
> -BB[/color]

if thats the best you can do, you are really new to all this. That is
also obvious by your oh so new email address...

And yea go to the nearest borders and pickup a copy of 2600 or maybe
the art of deception (mitnick). Unless of course you are living in a
state like maryland or virginia. In which case I pity you.

FYI, there is a thing called a "server" in which people can login from
bulgaria and post messages that appear to arrive from california. Dood,
you need to learn a lot. And yea, block your 5190.

  #33  
Old January 26th, 2006, 04:35 PM
Shark
Guest
 
Posts: n/a

re: Regading interview Question.


JustBoo wrote:[color=blue]
> On Thu, 26 Jan 2006 22:26:12 +1100, "John Carson"
> <jcarson_n_o_sp_am_@netspace.net.au> wrote:
>[color=green]
> >I don't know if it is a full moon or something, but the posts in the last
> >week or so in comp.lang.c++ have been quite bizarre.[/color]
>
> Variety is the spice of life. Better than deadly-dull.
>
> "For the times they are a-changin'."
> - Bob Dylan[/color]

Don't feel left out guys, there are plenty of off topic troll feeding
attention seekers in this ng.

  #34  
Old January 26th, 2006, 04:45 PM
Shark
Guest
 
Posts: n/a

re: Regading interview Question.


John Carson wrote:[color=blue]
> "benben" <benhongh@yahoo.com.au> wrote in message
> news:43d8a410$0$25697$afc38c87@news.optusnet.com.a u[color=green][color=darkred]
> >> Pubs close early did they?
> >>
> >> Go some place else to post your abuse.
> >>[/color]
> >
> > Oh hold your blame please! Unacceptably rude as shark may have been,
> > he might have a reason to be rude. How do you know he didn't have a
> > bad day? Perhaps his house was burnt, or his car crashed, or he just
> > divorced, or he was disadvantaged for bodily or non-bodily
> > reasons...He might have one or more of the above or maybe even worse,
> > but how do you know?! Perhaps comp.lang.c++ is the only place he can
> > have a little bit of release. Life's give and forgive, and so let's
> > forgive this troubled (for whatever reason) man in this thread.[/color]
>
>
> Curious that you can come up with imaginative excuses for shark but
> apparently can't come up with any for Ian. Apparently telling someone to
> "fuck yourself" is OK, but telling someone not to post abuse is
> unacceptable. You have a very strange set of values.[/color]

Ian is a helpful guy, and that was another helpful advice. He can say
whatever he likes. Besides, newsgroups along with other internet
devices keep people like me off the streets, so telling me to take my
abuse to a pub is simply irresponsible towards the street dwellers.
Unacceptable, no. Irresponsible yes. Please think of the kittens.
[color=blue]
>
> I don't know if it is a full moon or something, but the posts in the last
> week or so in comp.lang.c++ have been quite bizarre.
>
> --
> John Carson[/color]

  #35  
Old January 26th, 2006, 04:45 PM
JustBoo
Guest
 
Posts: n/a

re: Regading interview Question.


On 26 Jan 2006 08:27:17 -0800, "Shark" <cpp_shark@yahoo.com> wrote:[color=blue]
>JustBoo wrote:[color=green]
>> Variety is the spice of life. Better than deadly-dull.
>>
>> "For the times they are a-changin'."
>> - Bob Dylan[/color]
>
>Don't feel left out guys, there are plenty of off topic troll feeding
>attention seekers in this ng.[/color]

My, you are the social butterfly aren't you. The above remark is,
other than making no sense whatsoever in the context I posted it in,
actually right on par... for you.

The dullness of the fool is the whetstone of the wits.

"He is a modest little man who has a good deal to
be modest about." - Winston Churchill
  #36  
Old January 26th, 2006, 04:55 PM
Shark
Guest
 
Posts: n/a

re: Regading interview Question.


JustBoo wrote:[color=blue]
> On 26 Jan 2006 08:27:17 -0800, "Shark" <cpp_shark@yahoo.com> wrote:[color=green]
> >JustBoo wrote:[color=darkred]
> >> Variety is the spice of life. Better than deadly-dull.
> >>
> >> "For the times they are a-changin'."
> >> - Bob Dylan[/color]
> >
> >Don't feel left out guys, there are plenty of off topic troll feeding
> >attention seekers in this ng.[/color]
>
> My, you are the social butterfly aren't you. The above remark is,
> other than making no sense whatsoever in the context I posted it in,
> actually right on par... for you.[/color]

you got the joke, only after typing a few words. Did your brain light
up?
[color=blue]
>
> The dullness of the fool is the whetstone of the wits.[/color]

Your quote shows how little you understood this line my friend. Quit
quoting shakes-pear. Not your thing.
[color=blue]
>
> "He is a modest little man who has a good deal to
> be modest about." - Winston Churchill[/color]

  #37  
Old January 26th, 2006, 06:05 PM
Shark
Guest
 
Posts: n/a

re: Regading interview Question.


BradB wrote:[color=blue]
> Shark wrote:
>[color=green][color=darkred]
> > > You know, Craig, Usenet is not as anonymous as you seem to think.[/color]
> >
> > nice try. BTW I live 20 minutes north of San Jose.[/color]
>
> Thanks, Craig. According to google,
>
> http://www.pych-one.com/new-4881342-4811.html
> http://tinyurl.com/8qfuc
> http://www.ulitka.com/usenet/index.p...2/0/#msg_50892
>
> -BB[/color]

BTW Tom, you are a pussy. You didn't even have the guts to confront me
like Ian Collins did (who actually scolded me for posting crap, like
any well meaning senior). Instead you create a new email address and
hope that noone will know it was you.

You are such a moron. I see why so many good C++ programmers are
jobless at times. They lack common sense.

Man you have such low self esteem man. You don't even want to stand up
to your own name. You are the type who sucks their boss' asses and
makes sure everything they do looks good. And in that process you screw
up the big picture. Shame on you Tom.

How many more fake email addresses do you have? Why are you so afraid
of google? Noone cares.

http://tinyurl.com/dylpv
http://tinyurl.com/avbv8

  #38  
Old January 27th, 2006, 07:55 AM
saldon@gmail.com
Guest
 
Posts: n/a

re: Regading interview Question.


Or if you wanna have some fun...
-----------

void foo(void) __attribute__ ((constructor));
void bar(void) __attribute__ ((destructor));

int main(void)
{
printf("TWO");
}

void foo(void)
{
printf("ONE\n");
}

void bar(void)
{
printf("\nTHREE\n");
}

------------
works in g++... maybe vc++ has a similar construct. (you can (try to)
argue that this is c++ just by saying it indeed has a construtor and
destructor ;])

Closed Thread