It's UWAweek 9 (1st semester, week 1)

help2002

This forum is provided to promote discussion amongst students enrolled in CITS2002 Systems Programming.
Please consider offering answers and suggestions to help other students! And if you fix a problem by following a suggestion here, it would be great if other interested students could see a short "Great, fixed it!"  followup message.
Displaying selected article
Showing 1 of 1168 articles.
Currently 2 other people reading this forum.


 UWA week 34 (2nd semester, week 5) ↓
SVG not supported

Login to reply

👍x1
helpful
4:35am Wed 23rd Aug, James A.
✅ content verified by our teaching staff  

This Stack Overflow is a fairly decent answer to the question "What is a segmentation fault?": https://stackoverflow.com/questions/2346806/what-is-a-segmentation-fault

But, in short, a segmentation fault happens when your program tries to access memory that hasn't been allocated to it. There are several ways that can happen, but common ones include trying to use an invalid or null pointer, or going outside the bounds of an array. Those are probably your most likely suspects, especially with the kind of code you are writing at the moment.

The University of Western Australia

Computer Science and Software Engineering

CRICOS Code: 00126G
Written by [email protected]
Powered by history
Feedback always welcome - it makes our software better!
Last modified  5:07AM Sep 06 2023
Privacy policy