~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

yes

Ever bunked classes.

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Maybe this would help.

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Java

Ever gone to a dentist?

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

IEEE 802.11

Perl or Python.

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

cow.

Hammer or Ham.

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Nah.

Have you ever liked programming?

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

internet

Frock or skirt.

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

No.

Have you ever developed enterprise level applications?

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

> why is there not a button for the new smilies in the quick reply box?
Because the quick reply box can't get any smaller...

> But y use those when there are some awesome animated ones?
Because they convey the wrong 'emotions'.

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Yes, but I hope you are not talking about the orange 'rep' ones.

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Click the Control panel link at the top of your page. If you have any infractions, they would show up.

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Maybe posting the problem here would be more productive.

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

hi i m new

...and hello, we are old. ;-)

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

The User CP is the answer to your question.

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Also, | is not the same as ||. The former is a bitwise OR and the latter is a logical OR.

Isn't it also a logical OR without the short circuit evaluation?

#include<stdio.h>

int first()
{
    printf("\nIn first function");
    return 1;
}

int second()
{
    printf("\nIn second function");
    return 0;
}

int main(void)
{
    if(first() | second())
    {
        printf("\nWithout short circuit evaluation");
    }
    putchar('\n');
    if(first() || second())
    {
        printf("\nWith short circuit evalutaion");
    }
    getchar();
    return 0;
}
~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Coke

WYSIWYG or Text Area

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Looks like Mel forgot regular members can't view threads from the moderator forum.

That isn't a Mod forum -- its Area51. ;-)

And btw Mel, congratulations to yet another spammer.... ;-)

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Oh, I thought I was the only one targeted, but it seems like I have got some good company. ;-) Not surprisingly, most of the comments I see in your rep chart are the same as I have got with a few profanity thrown here and there.

I don't know why people just don't PM me and get things straightened out -- esp when I *never* hand out negative rep, only infractions ;-).

Oh and you can always make a special request to Dani -- I am sure she must be having a log dump of all these things.... :-)

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Regular burger

Ice or water.

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Even I don't take sides -- so I guess it must be out of personal spite.

christina>you commented: thank you for the +rep. and here's some for you also. -christina +6
~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

I guess the one who wanted us all to fight like cats and dogs must be very happy with this.

Take an eg. of three people A, B, C. B dereps A and C. Both are agitated. A thinks its C's doing and C think's its A's doing. Start of rep war. Someone's evil plan succeeds.

Someone has been derepping me four times in a row and leaving out profane comments -- out of personal spite or because of a misunderstanding, I don't know.

I request whoever is doing this to please stop and settle the matter over PM is he/she has some problem with anyone. Whoever you are, you are destroying the community.

PS: I would probably get another deprep with another profane comment --- I am sure of it...

Rashakil Fol commented: A blast of sanity. +4
~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Despair.

Darkness or Hell.

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

XP

V or U.

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Laptop

Coconut or nuts.

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Cereal

Rock or Stone.

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Hot !!

Burial or Cremation.

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

m & m's (no idea)

Evil or Hatred.

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Rice.

Big or small

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Googling is an art... ;-)

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Think again -- its a do while loop working with C strings (they have a null terminator at the end).

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Moving around chunks of memory using memmove would not be that good an idea. Think of it this way if the string consists of only spaces with just an alphabet at the end. The memmove implementation would move:
(N - 1) + (N - 2) + ... + 1 bytes.

Here is a supposedly humble implementation which would remove the leading junk character specified by the user:

#include <stdio.h>
#include <stdlib.h>

void removeJunk(char *string, char junk)
{
    char *p = string;
    int trimmed = 0;
    do
    {
        if (*string != junk || trimmed)
        {
            trimmed = 1;
            *p++ = *string;
        }
    }
    while (*string++ != '\0');
}

int main()
{
    char testStr[] = "      such a lonely day      ";
    printf("|%s|", testStr);
    removeJunk(testStr, ' ');
    putchar('\n');
    printf("|%s|", testStr);
    getchar();
    return 0;
}
~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Wasn't that difficult...I googled and the first thing I came across was this. The answer is ready at your disposal. ;-)

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

There is as such no 'small example' when it comes to playing music files using C++. The library I suggested to you in my previous post takes away all the tough work from you. If not a library, there is no easy way out. Here is one way but will require a good amount of exprtise.

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

comedy

Python or Snake

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Me.

Civil War or Cold War

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

CS

Misery or Mirage

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Notepad++

Lie or Distrust.

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Why not use an API to simplify your task which handles all the resource management for you? Look here.

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

d.c.

She or They

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster
~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Yes, I read the reply just posted by Joey in the other thread. But funnily, I am getting to like my new smileys. No graphic adulteration -- pure content.

;-)

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Though reinventing the wheel won't be such a good idea unless your aim here is to learn how to create custom parsers and not the game.

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

roll-off

Bullet or bull.

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Brandy.

Sticks or Stones.

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Most often when people "optimise" code they are just guessing where the problems are, grasping at straws and doing things they once heard someone say would make things faster (and usually they don't of course).

Not always true -- well maybe true for beginners who think their code needs optimization for no good reason other than the thing that 'optimization' is a cool word. Take for example String and StringBuffer class in scenarios where appending is frequent. Same thing for Vector and ArrayList.

One should know where to look when it comes for optimization.

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Hat

Starvation or thirst

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

We can only wish. No wonder Dani has stopped replying to this thread considering the stream of 'it would be really nice if you could...' requests mixed with a whole lot of 'off topic' stuff.

PS: Oh, and its pretty good the way you remember the finer points about J's and I's. ;-)

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Ah atlast I found a way to use the old smileys... :icon_twisted:

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

PC anywhere

Scar or wound.

~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Is it just me or has there being a real increase in the rep activity recently? ;-)

christina>you commented: .... -1