Search:

Type: Posts; User: Jack23

Search: Search took 0.00 seconds.

  1. Replies
    11
    Views
    6,078

    That was the purpose of my while loop initially.

    That was the purpose of my while loop initially.
  2. Replies
    11
    Views
    6,078

    FILE* dataFile; char name [60]; ...

    FILE* dataFile;


    char name [60];


    dataFile= fopen ("myfile.txt" , "r");
    if (dataFile== NULL) perror ("Error opening file");
    else {
    if ( fgets (name , 60 , dataFile) !=...
  3. Replies
    11
    Views
    6,078

    Yeah, I remember that command now. I don't feel...

    Yeah, I remember that command now. I don't feel to comfortable implementing it into my program. As for the loop, so should it be two for loops.?
  4. Replies
    11
    Views
    6,078

    ... int i = 0,count = 0; ...

    ...
    int i = 0,count = 0; //intitializing counting variable
    ...
  5. Replies
    11
    Views
    6,078

    Is this better? typedef struct {char...

    Is this better?



    typedef struct {char fName[60];
    char lName[60];
    float test[3]; /* 3 tests */
    float avg;
    } student_t ;
    ...
  6. Replies
    11
    Views
    6,078

    C Program: Array Structures

    I'm pretty new to C but so far I have been pretty OK when it comes to implementing programs. I have been working with this program for about a week now, and I'm just about finished with it. The...
Results 1 to 6 of 6