how would i read in a text file that will be used as a hashed list search? the text includes a 5 digit student id #, the number of years spent at that college ranging from 1-6 years, the number of units completed for the first year, the number of units completed for the second year, and so...
how would i use calloc to allocate memory for a 2-D array outside of main. in main are: int rows, int cols, and int **array. the values for rows and cols were inputed by the user in a separate function also outside of main. so far i have:
int function (int *rows, int *cols, int ***array)
{...
need a function outside of main to fill a 2-D array with random numbers in the range
of 0 to 99, for example: rand () % 100. the prototype declaration is:
void fill (int *rows, int *cols, int ***array); where all three were declared in main and the values for rows and cols were read in by the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.