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

making us laugh.

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

Hey there Jaysun, welcome to Daniweb buddy. :)

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

Either that, or I don't perceive the logic of ~S.O.S~'s statement.

Something to this effect, yes.

My take on the signature, suppose you have a person discussing a problem with you, and he is seems to be doing it in an illogical way, being vague, being lost. Would it not discourage you from discussing your problems with him, esp. if he is your peer (on the same level).
Thus if you lack logic, you lose the the people you can discuss your doubts with.

Ditto with perception ( Insight, intuition, or knowledge gained by perceiving ).

But this is what I personally make of it. But different people might have different interpretations, which just goes out to prove my point..;)

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

so that he

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

edit - Finally! 35.399 seconds...

Heh.....
Edit: 36 seconds...:D

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

Happy new year to all....:D

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

Happy New Year and a happy BDay again Mr. Happygeek though I have already given my share of wishes.

May the Blog be with you...;)

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

Happy New Year to each and everyone at Daniweb on behalf of India...:D

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

Confusing is what this game is beginning to get.

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

Vegetables -> Healthy

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

19.736 :)

Try and try till you succeed....:mrgreen:

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

Some people are just never happy..:D

Congratulations man...

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

I wouldn't try to compare a framework with a programming language. ;)

I meant each and every language included like C#, VB .NET etc...:D

You were trying to trick me, weren't you? ;)

I like smart people, so good to discuss things with them...and not to forget trick them...:mrgreen:

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

who made us

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

If you said that that most modern software is written in C/C++ then that's a good example because it shows how C/C++ can run the gauntlet in a bunch of different areas and developers keep choosing it because it does a good job. :)

I hope you realize that a langauge doesn't have to follow the *fast* paradigm to be chosen by developers as a language of choice and be used in different areas.

Would you associate the word *fast* with Java when compared to C ? I guess no. But still it is now one of the hottest lanagues out there with a lot of softwares developed under its belt.

Would you associate the word power with .NET framework as compared to C? But still given the kind of abstractions it offers along with the extra flexibility in developing Enterprise level solutions, it has become the language of choice for many developers.

Nowadays langauges are chosen not based no their power (atleast not only power as parameter), but based on the development cycle associated with it.

BTW power in my above post means being fast so don't mistake it for the lanauge capabilities for Developing and Deploying Enterprise Level Applications. ;)

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

something to do

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

dark which scared

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

No need of checking for NULL while using C++ delete, the implications of this are taken care by the standard C++ implementation.

Given the message, I think somethign is getting deleted twice here. Better set the pointer to 0 after deleting it.

And btw, just post your entire code so we can have a look at your class declarations and all that.

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

our safety. But

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

round up members

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

You get a new bottle full with your favourite beverage in it...

I put in a camera.

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

You face shortage of water.

I put in some gin.

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

round and round.

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

Sure, but most of those things can be developed in weaker languages too. The language used to make something doesn't prove that it's powerful, it just proves that someone thought it was the best language to do the job. :)

Sure why not, but I really would like to see Python the way it is now, if developed in some other weak language. And also thinking that two great people (Mr. Larry Wall and Mr. Guido ) thought C would be the best language for their purposes doesn't surprise me. :D

I could do the same in assembly, wow assembly look how powerful it is!

No use of assembly when C can do almost the same kind of job (performance point of view, being the second most closest to the hardware after Assembly) and that too being less err...cryptic. ;)

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

YOu get to be a good web developer.

I put in a magnet.

-------------------------------------------
;)

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

ET -> Eat it

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

and then changing

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

Your code usually won't work. Most Unix-based systems require you to use shutdown now or shutdown -t [I]seconds till shutdown[/I] . And even with the correct syntax, shutdown is only made possible if the program is run with root privilages.

I guess, you forgot to click on the links which I included with that post, which explains in detail the syntax of "shutdown" along with its usage. ;)

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

Lol, ive quit learning C++ because i heard it as too hard to learn as a first language. Instead i am learning Python :D jan1024188 gave me a great book on it :D thnx

Just as a side note, to let you know, Python, Perl etc. and all such interpreted lanaguages are developed in C / C++.

So you can very much guess the power which goes along with the name...;)

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

Hey there FlyingTigers, welcome to Daniweb :D.

Don't worry, I will learn

Yeah man, that's the spirit. ;)

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

Pretty good ones. :D

My fav:

OOP Chicken:
It doesn't need to cross the road, it just sends a message.
Assembler Chicken:
First it builds the road ...

So very much like the OOP we know...;)

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

Soccer -> Saucer

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

I guess he used the [COLOUR=WHITE] tag.. I'm not sure why Daniweb even has this, since AFAIK, its not possible to change the background of posts (Probably a good thing...)

Yeah, I think he used the color white for posting, but don't know why play this prank...:(

Appears we need to have Ms. Dani add a new category to the Rules thread -- do not make hidden posts. I don't know how he did it, but thank you ~S.O.S~ for fixing it up.

Yes it is a good idea to let Miss Dani know of it.

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

You get an easy bulls eye.

I put in some mushrooms.

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

If i have a program running in debug that requires an input from the keyboard to continue, how do i do that?

Go back to the console screen (make the console window active) and give the input.

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

You get to marry the girl holding that ring..

I put in a wheel.

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

The NHS -> NHL

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

I doubt it, it might be just a style issue, but I ain't never seen it like that.

How can you doubt it when you haven't seen the book while I have ? ;)

Where's the fun in that. Guess

Good luck with your fictious shortcomings. Maybe we would joke at another time...

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

Does the difficulty have anything to do with the fact that my left ball is heavier than the other.

:mrgreen::mrgreen::mrgreen:

I almost got myself killed by laughing at your joke...:twisted:

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

Nope. In that case you should have just done:

std::cin.clear( ) ;
    std::cin.ignore( numeric_limits<streamsize>::max(), '\n' ) ;
    std::cin.get( ) ;

Usage of namespace declarations or prefixing them is a matter of personal style. BTW the way I have done, has been reflected in many good boooks (C++ programming language) so its actually not a bad thing as such, just difference of style.

The using namespace declaration is normally when people want to avoid using std:: prefixes altogether.

Incorrect. Not "altogether", for a specific block of code would be more like it. And when you delare it at the top, it applies to the whole source file.

Oh and even your example has its shortcomings just like Bench's. See if you can guess why.

[sarcastic]Oh, wow, I would love to hear them and if possible a good solution too please...;)[/sarcatic]
:D

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

I wouldn't put 'using namespace std' within the scope of a function.

It is better to state it at the top - just under the headers.

Declarations are best made in the proximity where they are required to be used. Limiting the scope of the namespace declaration namespace collisions can be avoided.

Programs should be made avail of only that much functionality which concerns them hence declaring the namespace in the function was for the best.

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

Heh..I knew that, just wanted to tell you that it is not a normal way of reading posts and many members will get confused...;)

BTW have fixed the code so that it can be read by each and every person.

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

Check my post again please.

It still looks blank in my browser window. Maybe someone needs to edit your post...

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

Sometimes we have to compromise in life.

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

@ Bench
Just to let you know that the functions cin.ignore( ) and cin.get( ) won't function as expected if the standard input stream is corrupted and its status bit not cleared. Your code is good and robust but to make it to adapt to stream corruptions, do something like:

#include <iostream>
#include <limits>

void stop( )
{
    using namespace std ;

    cin.clear( ) ;
    cin.ignore( numeric_limits<streamsize>::max(), '\n' ) ;
    cin.get( ) ;
}

@ jan1024188
There are some cases in which the simple statement getchar( ) or cin.get( ) won't work. Those being corrupted stream, or more than a single newline character hanging in the stream.

For simple cases the primitive statements work well, but if your program is a highly CUI (console user interface) dependent, you might want to have a robust function like mentioned above by me and Mr. Bench to handle fatalitites ;).

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

You can try this. Haven't verified it but should work.

Just write the function, call it in main().

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

Err..btw I was joking (atleast the cocaine part) :mrgreen:

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

You get a sluggish computer with good looks.

I put in *nix Desktop Manager.

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

Scrubs -> Stupid Doctors

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

MANY damned Mac losers, filled with spywares, crying.