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

You get friends, geniuses, trouble-shooters, hackers, video-game addicts, and some slackers along with some individuals of a **coughs questionable nature .

I guess I had this answer in mind all along...:mrgreen:

You get to burn down the entire world.

I put in some pepper.

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

realiable fact according

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

Genius programmers with secrets, computing, expressed expressions while confused about unoptimized snippets

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

Facts and figures can be fabricated.

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

rim

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

You get an almost working inductor.

I put in some Daniweb members.

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

sucking our blood.

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

isfeucf

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

You get Python's hash table.

I put in some beans.

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

Though I can pretty much bet that the given the kind of code inlined, the compiler will ignore his request for inlining...

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

brim

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

dinner - lunch

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

Genius programmers with hackers, computing, expressed frustration while confused about unoptimized snippets.

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

You can convert the key you receive into a C++ string and then do something like:

int main (void)
{
    using namespace std ;

    string key = "something     \ with   \ spaces           ." ;
    for ( int i = 0, j ; i < key.length( ) ; ++ i )
    {
        if ( key [i] == ' ' )
        {
            for ( j = i + 1; j < key.length ( ) ; ++j )
            {
                if ( key [j] != ' ' )
                    break ;
            }

            key = key.erase ( i, (j - i) ) ;
        }
    }

    cout << key ;
    getchar () ;
    return 0;
}

Though its a bit crude, but I think should serve your purpose.

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

2nd ponit is that if i if make any class as main class by public static void main then all the method of that class become static so in case of inner class if i make outer class as the main class then what happend with inner classes wether that class also become satatic or not.

It is not as such compulsory to make the inner class as 'static' unless you plan on creating instances of that class in the 'outer class'.

But if you need to create instances of inner class, 'static' qualifier is the must:

public class Temp
{
    public static class Inner
    {
        private int temp_ ;
        
        public Inner ( int temp )
        {
            temp_ = temp ;
        }
        
        public Inner ( )
        {
            temp_ = 100 ;
        }
        
        public void main (String args [])
        {
            System.out.print ( "Helo Inner" ) ;
        }
        
        public int getValue ( )
        {
            return temp_ ;
        }        
    }
    
    public static void main (String args [])
    {        
        Inner var1 = new Inner ( ) ;
        System.out.println ( var1.getValue ( ) ) ;
        
        Inner var2 = new Inner ( 999 ) ;
        System.out.println ( var2.getValue ( ) ) ;
        
        System.out.println ( "Helo" ) ;
    }
}

3rd point is revers case of second that is waht happend if i make inner most class as main class then what happend with outer classes wether they become static or not.

You as such can't make your inner classes as the "main" class since …

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

And if you really feel like learning them in depth, read this...

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

Which IDE are you using ?

The process normally involves creating a new console project (if thats what you want), adding the required header and source files to it (preferably in the same folder). The header and the source files are generally added by right clicking on the project name in the left window or whereever your IDE hosts it and then adding the required files by specifying their path.

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

Hey there Mike, welcome to Daniweb. :D

Hope you have tech time here... ;)

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

Genius programmers with attitudes, computing, rode frustration while confused about sucky databases

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

Hello Sophie, welcome to Daniweb. :D

Good to see a game phrogrammer here... ;)

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

lust - bust

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

In the end - Linkin Park

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

Genius programmers with attitudes, computing, rode subways while confused about sucky debuggers.

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

You get to wander in a Soundgarden.

I put in some slack.

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

Tofu ? I think I have heard it somewhere ?

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

You get the "superunknown"

I put in some blood.

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

Don't new people bother looking at dates? This thread is only 3 years old... :eek:

Only... ? ;)

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

Genius programmers with attitudes, computing, rode subways while confused from placid debuggers.

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

It flies off with a boom.

I put in a Maiden's Iron.

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

The end is near - Alterbridge

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

borax - thorax

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

You get to live a myth.

I put in some quicksand.

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

It is mandatory

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

alone

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

Edge of my seat - Switchfoot

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

Dry fruits are good for health.

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

Pie mentioned in any kind of discussion makes my mouth water.

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

Even I am experiencing a lag. Replying from the quick reply box seems to be an infinte wait...

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

It is a known fact that we all work towards the goal of world peace.

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

A titlde is produced by the same key as the backtick by holding down the SHIFT key.

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

Genius programmers with attitudes, computing, rode subways while beggingat placid debuggers.

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

You get to lead the sheet.

I put in Miss Misery.

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

the Daniweb members.

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

Just because - Janes Addiction

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

Music - rocks

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

clump

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

hell. Do I

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

Gutterflower - Goo Goo Dolls

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

flowers - floral

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

You get to eat it with Paranthas

I put in some icecream.