Hi im really finding it hard to see what is wrong with my code. any help would be greatly appreciated.
It is for this project : project_3 - RW 144
import org.w3c.dom.Node;
public class...
Type: Posts; User: KobusJordaan
Hi im really finding it hard to see what is wrong with my code. any help would be greatly appreciated.
It is for this project : project_3 - RW 144
import org.w3c.dom.Node;
public class...
Thank you got it working problem was in my enqueue and dequeue:
public void enqueue(double x) {
if (isFull()) {
throw new RuntimeException("Ring buffer overflow");
...
Good day im really struggling to see what is wrong with my code any help would be awesome.
public class RingBuffer {
public double[] rb; // items in the buffer
private int...