Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. NatMinx

    Trouble with interactive program...

    Ok here's my code... for(;;) { printf("Please input a command: "); fscanf(stdin, "%s %s",cmd,infilename); if(strcmp(cmd,"exit")==0) { printf("--> Bye!\n"); exit(0); } else if(strcmp(cmd,"remove")==0) { ...
  2. NatMinx

    deleting the content of a text file

    Ok... here's my problem: I have 2 files File1 & File2 in the current dir. File1: File2: tempFile: 20 40 20 30 30 40 My program is supposed to check if File2's content exists in File1 and delete it. The way I'm approaching it is...
  3. NatMinx

    stackdump error?!!?

    Ahhh ignore the first post... that was the wrong version! typedef struct event_t { char *event; char *day; char *year; char *location; } Event; struct CalendarNode { Event e; struct CalendarNode *next; }; int main (int argc, char **argv) {...
  4. NatMinx

    stackdump error?!!?

    I'm getting the segfault again :-( what is wrong with this::: typedef struct event_t { char *event; char *day; char *year; char *location; } Event; struct CalendarNode { Event e; struct CalendarNode *next; }; int main (int argc, char **argv) {...
  5. NatMinx

    stackdump error?!!?

    Thanx a bunch :-) big life saver!
  6. NatMinx

    stackdump error?!!?

    but how would i fix the NULL case though?
  7. NatMinx

    stackdump error?!!?

    typedef struct event_t { char *event; char *day; char *year; char *location; } Event; struct CalendarNode { Event e; struct CalendarNode *next; }; int main (int argc, char **argv) { ..... struct CalendarNode *list; Event eee...
  8. NatMinx

    stackdump error?!!?

    21 [main] calquery 6044 _cygtls:: handle_exception: Error while dumping state (probably corrupted stack)" inside that stackdump file, it says "Error:STATUS_ACCESS_VIOLATION" does anyone know what this means?! :'-( my code worked like a charm 10 mins ago, I took a break, came back & ran it...
  9. NatMinx

    incompatible types error? :-(

    Okie... I fixed it :) Thanx a bunch guys!
  10. NatMinx

    incompatible types error? :-(

    /////Declarations///// typedef struct event_t { char event[100]; int year; } Event; struct CalendarNode { Event e; struct CalendarNode *next; }; ///////////////////////////// I'm getting an error from this line of code: node->e.event = findEvent(temp); where node points to...

Part and Inventory Search

Back
Top