Search:

Type: Posts; User: trnd

Search: Search took 0.00 seconds.

  1. Thread: Recursion problem

    by trnd
    Replies
    2
    Views
    2,030

    That totally works, thanks for the quick reply.

    That totally works, thanks for the quick reply.
  2. Thread: Recursion problem

    by trnd
    Replies
    2
    Views
    2,030

    Recursion problem

    Hey guys I have a question about this function (needs to calculate the number of digits of any integer). My problem is- How do I return 1 in case of the number that is given is 0 since 0 is a 1 digit...
  3. Replies
    5
    Views
    1,674

    sphynxter I just saw your post. VS2008 did...

    sphynxter I just saw your post.

    VS2008 did issue a warning yet by being so annoyed by the fact that the program did not work I didn't know what to do with it.

    warning C4033: 'rec' must return a...
  4. Replies
    5
    Views
    1,674

    Thanks a lot. worked like a charm.

    Thanks a lot. worked like a charm.
  5. Replies
    5
    Views
    1,674

    Recursive function problem

    Hey guys I'm new here, I have a problem with this function, can anyone tell me what's wrong?




    int rec (char *s, char c);

    int main()
    {
    char s[10]="abra";
Results 1 to 5 of 5