Search:

Type: Posts; User: Adak

Search: Search took 0.08 seconds.

  1. Replies
    10
    Views
    6,926

    This doesn't do all that you need, but it's a...

    This doesn't do all that you need, but it's a start.

    It has some marks assigned to marks[], already -- very handy for testing and when you want to adjust the output.


    #include <stdio.h>...
  2. Replies
    10
    Views
    6,926

    Your first line of code with errors is: int...

    Your first line of code with errors is:

    int subjects_taken,row_count = 0 ,Array[200][5], i , j ,student_no = 1,row_t *Array = NULL;;

    row_t is an int, but has no comma after it.

    *Array is the...
  3. Replies
    10
    Views
    6,926

    You can't put a stop condition on a for loop,...

    You can't put a stop condition on a for loop, that may need to go on indefinitely. You could just leave the semi-colon:



    for(i=0;;i++) {
    //your code in here, including
    for(j=0;j<5;j++)...
Results 1 to 3 of 3