Timeline for Segmentation fault in initials.c pset2 cs50 2017
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 10, 2017 at 16:52 | comment | added | sk.76 | Ya no error this time ! Thanks for help. | |
Jun 10, 2017 at 13:43 | comment | added | Vikrant Pradhan |
i tried running your code. I did get the segmentation fault as well. Then i corrected the while statement to while(1 <= n && n < strlen(name)) and then i worked fine...
|
|
Jun 10, 2017 at 12:29 | comment | added | sk.76 | Ya , I got the same segmentation error. Plse help. | |
Jun 10, 2017 at 9:22 | comment | added | Vikrant Pradhan | same error of segmentation fault? | |
Jun 10, 2017 at 8:11 | comment | added | sk.76 | I tried implementing ur suggestion but sorry it didn't work . Any more suggestions to help ? | |
Jun 10, 2017 at 6:49 | history | answered | Vikrant Pradhan | CC BY-SA 3.0 |