Search:

Type: Posts; User: lbillys

Search: Search took 0.01 seconds.

  1. Replies
    15
    Views
    3,922

    honestly, i have to finish this class out and i...

    honestly, i have to finish this class out and i will this semester with the week left. if you want to help me, please do, but who sits on a computer programming message board at 6pm on a saturday to...
  2. Replies
    15
    Views
    3,922

    alright i have gotten all the errors to leave...

    alright i have gotten all the errors to leave except for two and five warnings. I am unsure how to fix these.
    hw12.c:20: warning: parameter names (without types) in function declaration...
  3. Replies
    15
    Views
    3,922

    i just got a lot of errors and warnings......

    i just got a lot of errors and warnings...
    hcp-129-8-135-3% gcc hw12.c -o hw12.out

    hw12.c:11: warning: no semicolon at end of struct or union
    hw12.c:11: error: syntax error before "passfail"...
  4. Replies
    6
    Views
    1,997

    { max=0; locscndmax=0; ...

    {
    max=0;
    locscndmax=0;
    if(x>max)
    {
    locscndmax=max;
    locscndmax=j;
    max=x;
    }
    }
  5. Replies
    6
    Views
    1,997

    sorry i am confused. when i do this it prints...

    sorry i am confused. when i do this it prints out my max=0 and the location of both the first and the second max at the same location. how do i reset the max without making it 0 in the end
  6. Replies
    15
    Views
    3,922

    okay here is my retry /* Homework 12 */ ...

    okay here is my retry


    /* Homework 12 */

    #define FILENAME "students.dat"
    #include <stdlib.h>
    #include <stdio.h>
    #include <math.h>
    #include <string.h>
  7. Replies
    6
    Views
    1,997

    finding the second maximum.

    I have created a program to read from an external file. The program must locate the first maximum and the second. I am unsure about how to find the second maximum. Possibly by resetting the first...
  8. Replies
    15
    Views
    3,922

    help beginning programming

    I have a homework assignment that I have no idea where to go or what to do next. Could you please help? Thanks!
    The assignment reads:
    your program is to read from a file students.dat which may...
Results 1 to 8 of 8