Questions tagged [core-dumped]

The tag has no usage guidance.

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

Pset2 vigenere: core dump - segmentation fault NEED HELP

I need help. Does anyone knows how to fix this? I've tried debugging and the problem is that the int k is always seems to be 0 but I don't really understand why :( $ int main (int argc, string argv[]...
0
votes
1answer
69 views

Why is my vigenere cypher code resulting in "Segmentation fault: core dumped"?

It is because I am trying to access memory that I shouldn't be, correct? Can anyone tell me where my error is? //prompt the user for a non-neg integer 'k' which is to be used as //an arg #...
0
votes
2answers
118 views

PSET2 Initiallizing - segmentation fault

#include <stdio.h> #include <cs50.h> #include <string.h> int main(void) { printf("type your name: "); string name = GetString(); string initial = NULL; for(int i = ...