Search:

Type: Posts; User: jl864405

Search: Search took 0.00 seconds.

  1. Replies
    6
    Views
    2,021

    Debugging Issues

    I am writing a program to read a list of grades from an array, calculates the average and then gives a grade based on the average. However, I am having debugging issues that I was wondering if...
  2. Replies
    8
    Views
    1,587

    So sorry for jumping ahead. Heres my get_data...

    So sorry for jumping ahead. Heres my get_data function so far:



    void get_data(int ar[])
    {
    FILE *inp;

    inp = fopen("proj7.dat", "r");
    fclose(inp);
  3. Replies
    8
    Views
    1,587

    okay that is much more helpful! Void...

    okay that is much more helpful!


    Void function A has to open a separate data file, read it, and then close it. (15 #'s to read)

    Void function B then computes the average of these 15 numbers. ...
  4. Replies
    8
    Views
    1,587

    The function has to read (using a while loop) 15...

    The function has to read (using a while loop) 15 scores from a separate data file using the declaration of a file pointer and I was unsure of the syntax to do so.
  5. Replies
    8
    Views
    1,587

    Inputting Data File Using Pointers

    I have a set of scores in a data file and I am having trouble figuring out the correct code to input the scores from the data file into a separate function. Is this a good start?


    void...
Results 1 to 5 of 5