what does it mean when i run a C program and it says Segmentation fault?
I'm trying to turn the array {0,24,13,90,457,124,47,733,346,123} into a table.
C programming problem?
It can be incredibly difficult to find these errors. Nightmare to debug. You have to comment out code to find the where the error is. Or put printf statements in your code from the top down and see how far it gets each time. If you are unsure the logic of your code is fine, you may have to look into that.
Reply:It means you stepped on memory that isn't yours, generally. Or, you called something that stepped on memory you don't own (or memory not segmented to be written on)
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment