Search:

Type: Posts; User: houler

Search: Search took 0.01 seconds.

  1. I get it. Thanks alot guys :D

    I get it. Thanks alot guys :D
  2. Can you explain this part to me? I thought count...

    Can you explain this part to me? I thought count was only used as a counter? why is it in between the braces?

    scanf("%f", &expenses[count]);

    i
  3. quick question about storing values in an array

    Here's a code snippet i got from a book:




    /* Declare an array to hold expenses, and a counter variable */

    float expenses[13];
    int count;
  4. Replies
    5
    Views
    1,356

    Heh. I got it thanks.

    Heh. I got it thanks.
  5. Replies
    5
    Views
    1,356

    I'm inputting 1,2, 3, 4, 5 to see if they...

    I'm inputting 1,2, 3, 4, 5 to see if they actually get stored into the elements in order, and to check if 1 matches element 1, 2 matches with element 2, and so forth.
  6. Replies
    5
    Views
    1,356

    stored values in elements of array, help

    I wrote this to get the feel of how values are stored in the array.

    when I run the program i get this:

    1 is 1075160376
    2 is 1
    3 is 2
    4 is 3
    5 is 4
  7. Replies
    7
    Views
    4,093

    nevermind.

    nevermind.
  8. Replies
    7
    Views
    4,093

    /* Demonstrates a recursive function */ ...

    /* Demonstrates a recursive function */

    #include <stdio.h>

    int recurse(int a);

    int main(void)
    {
    int num;
  9. Replies
    7
    Views
    4,093

    I get it now, thank you for your quick replies. ...

    I get it now, thank you for your quick replies. :cool:
  10. Replies
    7
    Views
    4,093

    understanding recursive functions

    Hi, this is my first post here.

    I'm having trouble understanding the logic of recursive functions. I'm doing a self study on C programming for linux and I'm having problems understanding how...
Results 1 to 10 of 10