Search:

Type: Posts; User: cwd

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    975

    errors on structures

    void records(struct drivers_license *record[15]);
    void changes(struct drivers_license *record[15]);

    int main()
    {
    struct drivers_license record[15];
    sprintf(record[0].lastname,"Daniel");
    ...
  2. Replies
    2
    Views
    2,175

    Need serious help on array of structures

    I can't figure out how to access data members in an array of structures to store data.

    Here is my program:
    #include <stdio.h>
    #include <stdlib.h>
    #include <string.h>

    struct...
  3. Replies
    1
    Views
    1,071

    array of structures

    I can't figure out how to access data members in an array of structures to store data.
    Here is my program:
    #include <stdio.h>
    #include <stdlib.h>
    #include <string.h>

    struct drivers_license
    {...
  4. Thread: Recursion stuck

    by cwd
    Replies
    2
    Views
    740

    Recursion stuck

    How would I write a c program which will recursively compute the product of all even numbers greater than 0 and <= N, for values of N={16,7,9}, and print the results to an output file. For instance,...
  5. Replies
    4
    Views
    980

    Please Help recursion

    How would I write a c program which will recursively compute the product of all even numbers greater than 0 and <= N, for values of N={16,7,9}, and print the results to an output file. For instance,...
  6. Thread: Recursion

    by cwd
    Replies
    1
    Views
    810

    Recursion

    How would I write a c program which will recursively compute the product of all even numbers greater than 0 and <= N, for values of N={16,7,9}, and print the results to an output file. For instance,...
  7. How do you add up certain elements in array using pointers

    lets say I have an array decleared such as:
    double numArray[15]={14.83,19.24,0.84,1.98,3.47,0,0,0,0,0,827.39,632.85,471.38,0.04,4.83}

    and also I have some pointers decleared such as:
    double...
  8. Thread: Help

    by cwd
    Replies
    1
    Views
    1,277

    Help

    here is my big probelm, it is going to first include the initial programming instructions and part of my program to try to solve it, I'm stuck big time.

    Write a C program incorporating a main()...
  9. Replies
    2
    Views
    1,612

    passing arguments through functions

    just look at this and tell me why it won't output anything, it will compile, but won't output anything, I need to know soon, real soon

    #include <stdio.h>
    #define value 30

    int test(int x);
    ...
Results 1 to 9 of 9