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

pot -> cocaine

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

Smartly-tweaked noses are running through inverted hankies, EASILY.

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

Why do you want to build from source code when pre built binaries are readily available on the site?

I haven't personally used this API but you can try downloading the binary files under "Linux Binary RPM's" and trying them out. (they even have some examples).

If that doesn't work, you can try out this API.

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

Man, it sure was a close call.

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

trying to prove

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

So I hope

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

kettle -> steaming tea

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

Smartly-tweaked noses are RUNNING through inverted fractions, hastily.

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

As mentioned earlier, the FIbonnacci sequence is a classic example of recursion.

...which even can be solved with a really simple loop.

Since the langugages in which we program are normally turing complete, there is as such nothing which can only be solved using recursion. A real example of recursion would be the one in which the iterative solution would not be too apparent and even when such a solution is found, would be too complex. Recursive descent parser, like Raye mentioned, Backtracking problems still stand as a good examples.

Graphical representations of some of them using applets here.

mattyd commented: recursivity help- Thanks S.O.S.-- mattyd +2
~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

I am interested in understanding recursivity; I have not knowingly used this much in my programming. I am reviewing certain areas of OOP in order to learn more and better about areas that I may not be fully understood yet. Recursivity is one of these areas. I understand the definition of the word, of course, but am having a bit of trouble finding good examples online or full tutorials on the subject in regards to OOP. Any help or direction would be greatly appreciated.

OOP is basically a programming paradigm, a framework, more tightly coupled with the field of Software engineering and Software design than with actual programming . Smart data structures with dumb functions -- that what many people know OOP with.

Recursion is particulary a strong concept which is not only used in solving programming problems but also extensively in the field of Mathematics.

Eg. if we were asked to define what natural numbers are (you can't write down all of those ):

1. Natural numbers:
(a) 0 is a natural number.
(b) the successor of a natural number is a natural number.

Similarly the concept used in defining grammar in the BNF ( Bakus Naur Form).

Google for terms like Sierpinski curve, Knights tour, Travelling salesman problem, Stable Marriage problem and the Eight Queens problem for some applications of recursive problem solving techniques.

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

nerd -> herd

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

SMARTLY-tweaked processors are calculating through inverted fractions, hastily.

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

Deletable things are best left in the recycle bin.

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

interact with the

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

Friends are debatable.

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

Daniweb ? Do you

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

when we take

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

Battle started -- mission accomplished.

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

Categorization is for the weak minded people who need a reason to learn a lanaguage. Programming is an art and language are the tools for artists.

Of course if given a problem domain and the requirements, this question would have carried *some* validity but as such it stands its really a pointless question.

You are lucky you didn't ask this question on a newsgroup, otherwise you would have being ripped apart in no time...

Salem commented: More rep++ from Salem :) +6
~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster

superman -> Clark Kent

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

hearted -> brainiac

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

cat -> lion

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

Correct -- and thats what we mean when we say "Editing out the color tags out of user's post"....

There was a lot of debate whether moderators should touch anything other than code posted by moderators while some situations demand that the entire post be edited to maintain the forum dignity -- just wanted to make sure...

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

Linker errors are usually generated when the linker can't find the function definations i.e. the body of the mentioned functions.

You need to place the "Serial.h" and "Serial.cpp" file in the same directory as that of the main or driver file and make sure the above mentioned functions are defined in the "Serial.cpp" file.

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

magic -> black

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

Hey there buddy, welcome to Daniweb :D

And a nice spot you have got there, a nice lake view wow... ;)

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

I'm confused. Why are moderators editing the colors of other people's code to begin with?

What about this post ? What do you think should be done ? Left alone, yes ?

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

Heavily-TWEAKED processors are calculating through inverted fractions, gratuitously.

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

discussion about our

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

Now is not the right time of talking about aliens.

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

hell of a

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

pulp -> purple

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

I guess you will have to put in a bit more effort and try it on your own. Download the documentation related to the API and do some experimentation....

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

a better alternative.

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

Yet, you can try to visit that place once.

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

experiments -> results

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

brainy thoughts which

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

heavily-mutated processors are calculating over inverted FRACTIONS, gratuitously.

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

Anything which keeps

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

away for his

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

cream -> white

~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

There really is no way to automatically convert C++ -> Java or Java -> C++. They are too different in design for a conversion to be anything but hand-coded.

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

Better ask this question at the QT forums, they would be able to help you better.

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

I'm confused. Why are moderators editing the colors of other people's code to begin with?

Oh, so you mean to say that if a post is multicolored, with all kinds of colored being used by beginners to express their thoughts or with the broken code tags, we should let it be?

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

Not that the idea is bad, but maybe there's a nicer way of doing it?

That point has been already brought up by me, but Dani thinks that if Google and Amazon can do it, why can't we.. ? ;)

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

no more so

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

problems -> solutions

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

auditorium otherwise chaos

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

I guess what I would like to know..., is there a way I could change the value in the string array using the pointer?. Or I will always need to initialize the array with the string?.

Actually there are many ways to change value of a character array using a pointer to it...

// Untested !!!

int main( void )
{
    int i = 0 ;
    // first way -- initialize while declaring
    char arr[BUFSIZ] = { '\0' } ;

    char* ptr_arr = arr ;

    // second way -- use string copy
    strcpy( ptr_arr, "Hello" ) ;
    puts( ptr_arr ) ;

    // Third way -- use fgets( ) or any other function which accepts user input
    puts( "Enter the string: ") ;
    fgets( ptr_arr, BUFSIZ, stdin ) ;
    puts( ptr_arr ) ;

    // And many other ways like looping through the entire array
    // and setting up individual characters
    putchar( '\n' ) ;
    for( i = 0; i < BUFSIZ - 1; ++i )
        ptr_arr[ i ] = '0' ;
    ptr_arr[ i ] = '\0' ;   // add a null terminator at the end
    puts( ptr_arr ) ;


    getchar( ) ;
    return 0 ;
}
Dave Sinkula commented: Thanks for doing my cleanup/followup. I was meaning to get around to it... --Dave +9