No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
I'm supposed to create a c file that contains functions perform certain tasks with a structured matrix. My h file and current c file are as follows. [code=c] typedef struct { int rows, cols; //matrix dimensions int **elements; //element array } Matrix; void matrixInit (Matrix* m, int r, int c); … | |
I'm supposed to create a program that reads in the name of a file, then takes the names of students, which are listed (last, first, m) and concatnate the first with the last (firstlast) and add .dat at the end for each student to open a file with and unknown … | |
This is the code I have so far. I can't even get the numbers range to print to the screen correctly. I am very new to all this stuff so go eacy on me. Can anyone help?? [code=c] #include <stdio.h> #include <stdlib.h> #include <math.h> #include <time.h> int main() { unsigned … |