It's UWAweek 19

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 21 other people reading this forum.


SVG not supported

Login to reply

👍?
helpful
7:19pm Sat 26th Aug, ANONYMOUS

I will try that out after completing the lab. But, I have just figured out how to resolve the issue with "segmentation fault". I know how to create a limited amount of memory space now, to allocate any types of values into a certain array. And it's all thanks to this website:

https://www.geeksforgeeks.org/dynamic-memory-allocation-in-c-using-malloc-calloc-free-and-realloc/

I went and used the "malloc()" function (the memory-allocation function) and it works! I'm not getting the automatic default error message anymore, thanks to GeeksforGeeks

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  8:08AM Aug 25 2024
Privacy policy