CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Page 99 of 106 FirstFirst ... 498996979899100101102 ... LastLast
Results 1,471 to 1,485 of 1586
  1. #1471
    Join Date
    Aug 2005
    Location
    The Matrix
    Posts
    159

    Re: AAAh A joke(Lets share Jokes)

    After 2 years of selfless service, a man realized that he has not been promoted, no transfer, no salary increase no recommendation and that the Company is not doing anything about it. So he decided to walk up to his HR Manager one morning and after exchanging greetings, he told his HR Manager his observation. The boss looked at him, laughed and asked him to sit down saying;

    My friend, you have not worked here for even one day.

    The man was surprised to hear this, but the manager went on to explain.

    Manager:- How many days are there in a year?
    Man:- 365 days and some times 366
    Manager:- how many hours make up a day?
    Man:- 24 hours
    Manager:- How long do you work in a day?
    Man:- 8am to 4pm. i.e. 8 hours a day.
    Manager:- So , what fraction of the day do you work in hours?
    Man:- (He did some arithmetic and said 8/24 hours i.e. 1/3 (one third))
    Manager:- That is nice of you! What is one-third of 366 days?
    Man:- 122 (1/3x366 = 122 in days)
    Manager:- Do you come to work on weekends?
    Man:- No sir
    Manager:- How many days are there in a year that are weekends?
    Man:- 52 Saturdays and 52 Sundays equals to 104 days
    Manager:- Thanks for that. If you remove 104 days from 122 days,
    how many days do you now have?
    Man:- 18 days.
    Manager:- OK! I do give you 2 weeks sick leave every year. Now remove that14 days from the 18 days left. How many days do you have remaining?
    Man:- 4 days
    Manager:- Do you work on New Year day?
    Man:- No sir!
    Manager: - Do you come to work on workers day?
    Man:- No sir!
    Manager:- So how many days are left?
    Man:- 2 days sir!
    Manager:- Do you come to work on the (National holiday )?
    Man:- No sir!
    Manager:- So how many days are left?
    Man:- 1 day sir!
    Manager:- Do you work on Christmas day?
    Man:- No sir!
    Manager:- So how many days are left?
    Man:- None sir!
    Manager:- So, what are you claiming?
    Man:- I have understood, Sir. I did not realise that I was stealing Company money all these days.

    Moral - NEVER GO TO HR FOR HELP!!!
    HR=HIGH RISK
    /** The only stupid question is the one you never ask. */

  2. #1472
    Ejaz's Avatar
    Ejaz is offline Elite Member Power Poster
    Join Date
    Jul 2002
    Location
    Lahore, Pakistan
    Posts
    4,211

    Re: AAAh A joke(Lets share Jokes)

    Quote Originally Posted by Sarevok
    After 2 years of selfless service, a man realized that he has not been promoted, no transfer, no salary increase no recommendation and that the Company is not doing anything about it. So he decided to walk up to his HR Manager one morning and after exchanging greetings, he told his HR Manager his observation. The boss looked at him, laughed and asked him to sit down saying;

    My friend, you have not worked here for even one day.

    The man was surprised to hear this, but the manager went on to explain.

    Manager:- How many days are there in a year?
    Man:- 365 days and some times 366
    Manager:- how many hours make up a day?
    Man:- 24 hours
    Manager:- How long do you work in a day?
    Man:- 8am to 4pm. i.e. 8 hours a day.
    Manager:- So , what fraction of the day do you work in hours?
    Man:- (He did some arithmetic and said 8/24 hours i.e. 1/3 (one third))
    Manager:- That is nice of you! What is one-third of 366 days?
    Man:- 122 (1/3x366 = 122 in days)
    Manager:- Do you come to work on weekends?
    Man:- No sir
    Manager:- How many days are there in a year that are weekends?
    Man:- 52 Saturdays and 52 Sundays equals to 104 days
    Manager:- Thanks for that. If you remove 104 days from 122 days,
    how many days do you now have?
    Man:- 18 days.
    Manager:- OK! I do give you 2 weeks sick leave every year. Now remove that14 days from the 18 days left. How many days do you have remaining?
    Man:- 4 days
    Manager:- Do you work on New Year day?
    Man:- No sir!
    Manager: - Do you come to work on workers day?
    Man:- No sir!
    Manager:- So how many days are left?
    Man:- 2 days sir!
    Manager:- Do you come to work on the (National holiday )?
    Man:- No sir!
    Manager:- So how many days are left?
    Man:- 1 day sir!
    Manager:- Do you work on Christmas day?
    Man:- No sir!
    Manager:- So how many days are left?
    Man:- None sir!
    Manager:- So, what are you claiming?
    Man:- I have understood, Sir. I did not realise that I was stealing Company money all these days.

    Moral - NEVER GO TO HR FOR HELP!!!
    HR=HIGH RISK

  3. #1473
    Join Date
    Feb 2003
    Location
    India
    Posts
    232

    Re: AAAh A joke(Lets share Jokes)

    Santa Singh goes for a job interview for mechanic's post.

    In the interview, interviewer asks : How does an electric
    motor run?

    Santa: Dhhuuuurrrrrrrrrr.....

    Inteviewer shouts: Stop it.

    Santa: Dhhuurrrr dhup dhup dhup ... gudup
    Sarve Bhavantu Sukheenah,
    Sarve Santu Niramayah,
    Sarve Bhadrani Pashyantu,
    Ma Kashchit dukh bhag bhavet.

  4. #1474
    Join Date
    Feb 2004
    Location
    India
    Posts
    21

    Re: AAAh A joke(Lets share Jokes)

    A junior Software engineer, a senior Software engineer and their PM
    are on their way to a meeting. On their way through a park, they come
    across a wonder lamp. They rub the lamp and a ghost appears. The ghost
    says, "Normally, one is granted three wishes but as you are three, I
    will allow one wish each".

    So the eager Junior Software engineer shouted, I want the first wish. I
    want to be in the Bahamas, on a fast boat and have no worries. "Pfufffff
    and he was gone.

    Now the Senior Software engineer could not keep quiet and shouted " I
    want to be in Florida with beautiful girls, plenty of food and cocktails.
    "Pfufffff and he was also gone.

    The PM calmly said," I want these two idiots back in the office after
    lunch at 1.30pm"

    Moral of the story is: Always allow the bosses to speak first"
    Humble yourselves before the Lord and He will lift you up

    Alpha Vijayan

  5. #1475
    Join Date
    Sep 2005
    Location
    New Delhi, India
    Posts
    332

    Re: AAAh A joke(Lets share Jokes)

    Ya Right...
    Attached Images Attached Images  
    Appreciate others by rating good posts

    "Only buy something that you'd be perfectly happy to hold if the market shut down for 10 years." - Warren Buffett

  6. #1476
    Join Date
    Feb 2003
    Location
    Iasi - Romania
    Posts
    8,234

    Re: AAAh A joke(Lets share Jokes)

    Johnny wanted to screw a girl in his office… but she
    belonged to someone else...
    One day Johnny got so frustrated that he went up to
    her and said:
    " I'll give you a $1000 dollars if you let me screw you...."
    But the girl said NO.
    Johnny said " I'll be fast, I'll throw the money on
    the floor, you bend down, I'll be finished by the time
    you pick it up."

    She thought for a moment and said that she would have
    to consult her boyfriend.....
    So she called her boyfriend and told him the story.
    Her boyfriend says "Ask him for $2000 dollars, pick up
    the money very fast, he won't even be able to get his
    pants down."

    So she agrees and accepts the proposal.
    Half an hour goes by and the boyfriend is waiting for
    his girlfriend to call.
    Finally after 45 mins the boyfriend calls and asks
    what happened......
    She said "The ******* used coins!!!"

    Management lesson:
    Always consider a business proposal in it's entirety
    before agreeing to it and getting screwed.

  7. #1477
    Join Date
    Oct 2002
    Location
    Timisoara, Romania
    Posts
    14,360

    Re: AAAh A joke(Lets share Jokes)

    Let me translate this one for you: on the top, with pink paint, it reads: "Spring of Happiness". On the wooden tag it reads "Out of Service". Seems that the spring was depleted. The world must be already full of joy and happiness.
    Attached Images Attached Images  
    Marius Bancila
    Home Page
    My CodeGuru articles

    I do not offer technical support via PM or e-mail. Please use vbBulletin codes.

  8. #1478
    Join Date
    Jul 2006
    Posts
    17

    Re: AAAh A joke(Lets share Jokes)

    This is for everyone dreaming of getting married.

    *Every man should get married some time; after all, happiness is not the only thing in life!! - Anonymous

    *An archaeologist is the best husband a woman can have; the older she gets the more interested he is in her. - Agatha Christie

    *Bachelors should be heavily taxed. It is not fair that some men should be happier than others. - Oscar Wilde

    *Don't marry for money; you can borrow it cheaper. - Scottish Proverb

    *I don't worry about terrorism. I was married for two years. - Sam Kinison

    *A psychiatrist is a person who will give you expensive answers that your wife will give you for free. - Anonymous

    *Bachelors know more about women than married men; if they didn't, they'd be married too. - H. L. Mencken

    *Men have a better time than women; for one thing, they marry later; for another thing, they die earlier. --H. L. Mencken
    Imagination is more important than knowledge.
    -Albert Einstein


  9. #1479
    Join Date
    Dec 2004
    Posts
    423

    Re: AAAh A joke(Lets share Jokes)

    peejavery - Are you paying attention to this?
    Even if everybody spoke the same language, nobody would be speaking the same language.

    --Daniel

  10. #1480
    Join Date
    May 2002
    Posts
    10,943

    Re: AAAh A joke(Lets share Jokes)

    Quote Originally Posted by Sabin_33
    peejavery - Are you paying attention to this?
    Yes!

    // 4 days.
    If the post was helpful...Rate it! Remember to use [code] or [php] tags.

  11. #1481
    Join Date
    Feb 2005
    Location
    Normandy in France
    Posts
    4,590

    Re: AAAh A joke(Lets share Jokes)

    That's incredible... I just realize that the title of this thread is "ahh, A joke(Let's share Jokes)" and not "0xAAA, A joke..." as I always thought... Though, I didn't understand well why there were this hex number in front of the title... I had seen that as a subtle reference to the AAA x86 assembly instruction.

    Excuse me for the off-topic post.
    "inherit to be reused by code that uses the base class, not to reuse base class code", Sutter and Alexandrescu, C++ Coding Standards.
    Club of lovers of the C++ typecasts cute syntax: Only recorded member.

    Out of memory happens! Handle it properly!
    Say no to g_new()!

  12. #1482
    Join Date
    May 2002
    Posts
    10,943

    Re: AAAh A joke(Lets share Jokes)

    HAHAHAHAHAHAHAHAHA! That is one of the funniest things I have read in this thread yet.
    If the post was helpful...Rate it! Remember to use [code] or [php] tags.

  13. #1483
    Join Date
    Oct 2005
    Location
    Bangalore
    Posts
    1,051

    Re: AAAh A joke(Lets share Jokes)

    Quote Originally Posted by SuperKoko
    That's incredible... I just realize that the title of this thread is "ahh, A joke(Let's share Jokes)" and not "0xAAA, A joke..." as I always thought... Though, I didn't understand well why there were this hex number in front of the title... I had seen that as a subtle reference to the AAA x86 assembly instruction.
    Excuse me for the off-topic post.
    ....
    - Sreehari
    "Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us."
    " Everybody is sent to Earth on a purpose. I am so Lagging behind that i won't die." – Calvin

  14. #1484
    Join Date
    Feb 2005
    Location
    Normandy in France
    Posts
    4,590

    Re: AAAh A joke(Lets share Jokes)

    Quote Originally Posted by exterminator at [url
    http://www.codeguru.com/forum/showthread.php?t=395976[/url] ]
    If size were to say the size in bytes - what would it be? The sum of sizes of each members or the size which is related to capacity or the actual size in memory?

    English is a funny language.. make yourself acquainted to such things (terms) or else you will find yourself complaining at English language itself .. leave alone size() in C++...
    Well, that's obvious, we must standardize that!

    I propose:

    std::set<T>::size() shall returns A+number_of_elements_in_the_set*B(T)+log_in_base_two(number_of_elements)*C

    A is an unspecified value, no greater than Alpha.
    Alpha is an implementation-defined value that shall be positive or equal to zero and doesn't depend of the instance of std::set nor of the type T.

    C is an unspecified value that shall be smaller than Gamma.
    Gamma is an implementation-defined value that does not depend on the instance of std::set nor of the type T.

    B(T) = max(E, sizeof(T)*F)+G

    E is an implementation-defined value, independent of type T and of the set.
    F is an unspecified value that shall not be strictly greater than 2.
    G is an implementation-defined value that doesn't depend on T or the set.

    A C D E F G can be non-integer values, but all the implementation-defined values described above shall be integer values, and the resulting size() returned value shall be an integer value.
    The mechanism by which a floating point value is converted to an integer value shall be achieved through an implementation-defined combination of one or more of the following mechanisms:

    1. The resulting floating-point value of the full calculus is rounded through an implementation-defined mechanism to an integer such as |integer-float| < 1.0
    2. At the exact point where the floating point value is multiplied by an integer value, the resulting value is rounded down to the greatest integer not greater than the floating point.


    All these values shall not be complex values.
    None of these values shall be strictly negative except A, and only in cases where the resulting size() before the application of the rounding #1 (in the case where the implementation systematically applies this rounding, but not in cases where the implementation doesn't apply this rounding, or does not do it inconditionally) is greater or equal to 1.

    size() shall returns a strictly positive integer value.

    If one of A, C, D, E or F is zero, the implementation should document when these values are equal to zero, and in particular if one of them is inconditionally equal to zero.

    The accuracy of the floating point calculus is unspecified but the implementation shall document the minimum precision for each individual operation (multiplication, addition or log_in_base_two).
    "inherit to be reused by code that uses the base class, not to reuse base class code", Sutter and Alexandrescu, C++ Coding Standards.
    Club of lovers of the C++ typecasts cute syntax: Only recorded member.

    Out of memory happens! Handle it properly!
    Say no to g_new()!

  15. #1485
    Join Date
    Jul 2006
    Posts
    17

    Re: AAAh A joke(Lets share Jokes)

    The following are a sampling of REAL answers received on exams given by the California Department of Transportation's driving school

    Q: Do you yield when a blind pedestrian is crossing the road?
    A: What for? He can't see my license plate.

    Q: Who has the right of way when four cars approach a four-way stop at the same time?
    A: The pick up truck with the gun rack and the bumper sticker saying, "Guns don't kill people. I do."

    Q: When driving through fog, what should you use?
    A: Your car.

    Q: What changes would occur in your lifestyle if you could no longer drive lawfully?
    A: I would be forced to drive unlawfully.

    Q: What are some points to remember when passing or being passed?
    A: Make eye contact and wave "hello" if he/she is cute.

    Q: What is the difference between a flashing red traffic light and a flashing yellow traffic light?
    A: The color.

    Q: How do you deal with heavy traffic?
    A: Heavy psychedelics.

    Q: What can you do to help ease a heavy traffic problem?
    A: Carry loaded weapons.
    Imagination is more important than knowledge.
    -Albert Einstein


Page 99 of 106 FirstFirst ... 498996979899100101102 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured