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

Sometimes, thinking out of the box helps a lot.

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

If money is no issue, I actually found a book named "How to C++ program - Second Edition" by Deitel & Deitel

Too much spoon feeding. Text not on par with other professional books out there. The only thing good about those books are the practice problems. They are fun while they last.

I've never heard of Accelerated C++

Its a good book, with good ratings. Short, concise, terse and to the point.

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

Hey there buddy, welcome to Daniweb. :D

Hope you have a great time here..

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

synapse -> snap

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

sin(0) + cos (0) + 665 => 666

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

Thanks for the nudge in the right direction!

You are welcome..... ;)

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

I thought it was Some One Special... but I'm a girl. So yeah.

Hm... not bad, why didn't I think of it before... ;)

That's fine, but you ask ~sos~ what my name "VISHESH" means, he would tell you, and then you decide

But I really don't know... :twisted:

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

Nothing Is sound -> Switchfoot

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

punishment -> spanking

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

(how many?)

No personal questions please....:D

You are late for the meeting.

I put in a coffee mug.

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

Deal ? I don't gamble.

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

(just a question, are you male/female?)

Male with lot of kids....;)

You get your car thoroughly washed.

I put in some vinegar.

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

Right here right Now -> Fatboy Slim

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

Happiness is in our mind, the way we look at things.

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

Satan -> hell

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

I get to dance with the beautiful girls there.

I put in a drum stick.

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

drugs -> evil

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

till

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

Children are a funny lot, doing things no one would imagine.

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

reality as compared

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

that the moment

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

You get to see a cow eating the grass.

I put in a glass of water.

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

(I assume this is the continuation of the game

Oh yes, it sure is... Now, why would someone think otherwise...;)

Science is rad.

RAD in software development context basically stands for Rapid Application Development.

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

Over-worked compilers and lazy INTERPRETERS transformed code while enhancing a killer app.

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

It boils down

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

the way things

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

dod -> dodo

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

1) Codeblocks IDE integrated with MINGW compiler can be downloaded at http://www.codeblocks.org/downloads.shtml

2) Bloodshed Dev C++ IDE with MINGW port of GCC as its compiler at
http://www.bloodshed.net/devcpp.html

3) Visual Studio Express Edition
http://msdn.microsoft.com/vstudio/express/visualc/download/

I personally recommend the first one i.e. Code::Blocks.

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

Something like this ?

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

Your problem area is:

strcpy (rstring, string);
rstring = (char*)malloc (sizeof (char) *strlen(string) + 1);

You need to first allocate the memory and then perform string copy and not the other way around.

Also, you don't need a temporary for this purpose. You can always do in place swapping.

char* reverse_string ( char* my_str )
{
    char tmp = '\0' ;
    int i, j ;
    int str_length = strlen (my_str) ;

    for ( i = 0, j = str_length - 1; i < j ; ++i, --j )
    {
         tmp = my_str [i] ;
         my_str [i] = my_str [j] ;
         my_str [j] = tmp ;
    }

    return my_str ;
}
~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Hey there lady, welcome to Daniweb. :D

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

Hello there buddy, welcome to Daniweb.

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

I don't have a clue what question you are asking.

function ch_in_string() -- there's a lot easier way to do that. std::string has a find method

bool ch_in_string(char ch, string s)
{
    return s.find(ch) == string::npos) ? true : false;
}

I guess that should be :

bool char_in_strin (string s, char ch)
{
    // return true if char is found in string 

    return ( s.find (ch) != string::npos ? true : false ) ;
}

or in a simple way:

if ( my_string.find (my_char) != string::npos )
{
     std::cout << "Character was found in the string \n" ;
}
else
{
     std::cout << "Character NOT found in the string \n" ;
}
~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Blazing souls and morbid machines killed humanity while creating a KILLER submarine.

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

wicked conscience which

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

through with you.

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

You get to play golf.

I put in a squid.

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

critter`

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

css -> cia

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

You kids can think what you want. Enjoy while the candy machine is still working.

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

span -> div

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

Here without you - Three Doors Down

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

Bingo, your turn.

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

someone mention profanity?
http://www.daniweb.com/techtalkforums/thread5.html

That thread is 5 years old. Daniweb policies have changed a lot since then.

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

I have given you a warning.

You even posted 3 - 4 consecutive posts in the SPAM thread, without any reason just to increase post count.

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

I don't see anything wrong...

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

You get a neutron bomb.

I put in tidal wave.

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

'Motha' + *profanity was a phrase coined in my generation to insult someone by indicting their Mother (along with the person) as less-than-upstanding or respected.

This profanity.

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

Word to ya motha!

Christina, we would really appreciate if you could cut out the profanity. Such things are generally not tolerated, Daniweb being a global message board.

christina>you commented: The key to success is never to give up. But whenever I am close to finding it, some bastard changes the lock... (there's some profanity for you.) +0
~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

Love Hurts - Incubus