Search:

Type: Posts; User: copeg

Search: Search took 0.08 seconds.

  1. Replies
    18
    Views
    2,124

    [SOLVED] Re: Have a few odd problems.

    Because you defined it that way. If that is not what you want I suggest you redefine the method in terms you DO want (wouldn't you want to do something with the recursive returned strings from the...
  2. Replies
    18
    Views
    2,124

    [SOLVED] Re: Have a few odd problems.

    Well, you've defined the function to return a String so by definition you must. Return an empty string if you have to.



    Recursive algorithms are quite dependent upon order of operation. If you...
  3. Replies
    18
    Views
    2,124

    [SOLVED] Re: Have a few odd problems.

    Check your syntax where all those compilation errors occur. For example,



    if (0<=n && n<=9)//is correct
    else if (n ==1);//I assume you do not want a semi-colon here.
Results 1 to 3 of 3