Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

~2K People Reached
Favorite Forums
Favorite Tags
c x 6
Member Avatar for cdn88

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 …

Member Avatar for gerard4143
0
1K
Member Avatar for cdn88

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 …

Member Avatar for cdn88
0
72
Member Avatar for cdn88

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 …

Member Avatar for Ancient Dragon
0
221