Search:

Type: Posts; User: jimblumberg

Search: Search took 0.04 seconds.

  1. Replies
    20
    Views
    4,286

    But shouldn't you be doing this for the number of...

    But shouldn't you be doing this for the number of times the user is asking for?

    The loop should look like:




    for(i = 0; i < *pN; i++)
  2. Replies
    20
    Views
    4,286

    What do you think this line of code is doing?...

    What do you think this line of code is doing? Please try to explain it clearly.



    for(*pN=1; *pN=100; pN++)


    Jim
  3. Replies
    20
    Views
    4,286

    Please post the complete modified code. Jim

    Please post the complete modified code.

    Jim
  4. Replies
    20
    Views
    4,286

    What don't you understand. The unresolved...

    What don't you understand.

    The unresolved error messages are because you have not written these functions


    void GetValues(int x[], int *pN);
    int FindBig(int x[], int n);
    int FindSml(int x[],...
  5. Replies
    20
    Views
    4,286

    The unresolved external symbols are because you...

    The unresolved external symbols are because you are calling functions that you have not written.

    The warnings "return" conversion from int to float mean that on the line quoted you are returning...
  6. Replies
    20
    Views
    4,286

    scanf("d",&i); { myBig =x[0]; mySml =...

    scanf("d",&i);
    {
    myBig =x[0];
    mySml = x[0];
    if(x[i]>myBig);
    {
    myBig = x[i];
    return myBig;
    }
    if(x[i]<mySml);
  7. Replies
    20
    Views
    4,286

    scanf("%d", size); // insure it is less than...

    scanf("%d", size);

    // insure it is less than 100
    for(size=1; size<=100; size++)
    {
    printf("Enter Value: ");
    scanf("d",*pN);
    {
    myBig =x[0];
    mySml = x[0];
  8. Replies
    20
    Views
    4,286

    scanf("%d", size); // insure it is less than...

    scanf("%d", size);

    // insure it is less than 100
    for(size=1; size<=100; size++)
    {
    printf("Enter Value: ");
    scanf("d",*pN);
    {
    myBig =x[0];
    mySml = x[0];
  9. Replies
    20
    Views
    4,286

    You are trying to define a function within a...

    You are trying to define a function within a function. That is not allowed. You need to move your function definition outside of any functions.

    Jim
Results 1 to 9 of 9