I am currently working on an assignment to simulate how an operating system handles deadlocks.
Anyway, I am having difficulties creating a Matrix -- Does anyone have a preference that they use when creating one? I was trying to use a two-dimensional array, but I must admit it is not working very well. (As in when I pass it to a function).
I am also using irregular structures that I created on my own as objects in the matrix.
Thank you for your help in advance! =D