Questions tagged [seg]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
36 views

Pset4 recover getting Segmentation error

#include <stdio.h> #include <stdlib.h> #include <cs50.h> int main(int argc, char *argv[]) { // file opened FILE *file = fopen(argv[1], "r"); // user types two ...
0
votes
0answers
17 views

PSET 5: Speller segmantation fault

Hi everyone! I am currently trying to finish pset5, but I keep getting seg faults with speller. I am a begginer in programming, so I hope that I will be able to finish it soon! Thanks for your time ...
0
votes
1answer
40 views

Speller seg faults in unload function

I've tried to fiddle around with my unload function for a while and don't understand why I'm getting a seg fault. It seems that the unload function is running through completely at least once, but ...
0
votes
0answers
35 views

dictionary.c giving segmentation fault

Unload function giving segmentation fault. Would anyone help me check my entire code. #include <stdbool.h> #include<stdio.h> #include<string.h> #include<ctype.h> #include<...
0
votes
0answers
53 views

pset5 unload segmentation fault

I am getting seg fault. I am not being able to determine error by debugger. bool unload(wordtree* del) { if(del==NULL) return true; for(int i=0;i<27;i++) { if(del->ptr[i]!=NULL) { ...