When I took a class to learn C programming I think one of my biggest problems was the compiler that the Professor made us use, just because it made it very difficult to debug code and contained no...
Type: Posts; User: grifan526
When I took a class to learn C programming I think one of my biggest problems was the compiler that the Professor made us use, just because it made it very difficult to debug code and contained no...
Thanks that fixed it
I have some code and I keep getting segfaults, I have found out here the error is happening and it happens when I am trying to assign values to a structure. I thought I had done it right but...
When I run this program I get a seg fault when ever I run it and it happen on the last pass through for loop. I put in print statements at one point just to see where the errors were happening and it...
I could have sworn I had tried that but obviously not because it just worked.
Thanks a bunch
I am making a program that needs to make an array of linked list, but I keep getting an error that says dereferencing pointer to incomplete type at the point when I am trying to set value to temp. My...
I must write a program that reads in a file of ints into an array and lets the user choose the array index he wants to see. I can read in the file but when assigning it to an array value I obviously...
ok, i thought I understood what you were saying but I don't know how to fix it, with out causing more errors.
I was able to get rid of that error by having a different function call it after filling it, but now that has caused a different problem. the code I changed is:
int main(int argc,char *argv[])...
I am working on a project using structures and when I compile it says " error: request for member `fName' in something not a structure or union" and it says the same thing for the different elements...
Thanks a lot guys my program is compiling now. I can now get on to the bulk of the project. Thanks again.
Ok I changed my declaration to:
void fillStruct(char *argv,STUDENT* sarr[]);
and the function call in main to:
fillStruct(argv,stud);
I am working on a project using structures and when I compile my program I get a syntax error, in main before char. My code so far is:
#include <stdio.h>
#include <stdbool.h>
#define SIZE...