No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
3 Posted Topics
I have an issue that's really confusing me... Below I am calling an initialize function: [CODE] void Initialize (List *L) { char* initialize = "initialize"; int i; for (i=0; i<MAXLISTSIZE; i++) { strncpy(L->items[i].name,initialize,MAXNAMESIZE); L->items[i].name[MAXNAMESIZE - 1] = '\0'; L->items[i].grade = 0; } L->count = 0; } [/CODE] And it seems … | |
I would like to access the name field from the array items and print the name but I am having trouble. I created a pointer 'L' in callInitialize and set it to the upper struct type List which I named 'studentList'. [code] int callInitialize () { /*Initialize a List*/ List … | |
Hello, I am having trouble understanding why I'm getting these errors. a4.c:106: error: expected expression before ‘int’ a4.c:106: error: too few arguments to function ‘ass_average’ a4.c:109: error: expected expression before ‘int’ a4.c:109: error: too few arguments to function ‘ass_min’ a4.c:112: error: expected expression before ‘int’ a4.c:112: error: too few arguments … |
The End.