problem with function

solved
Last edited on
Someone please help! The problem now is everything is working except that the first time t or I enter a valid c number, the program is stopping, not outputting "Cannot make system call for device-CPU, and therefore Ready Queue, are empty!"<< endl<<endl;

So if I enter A first the program works, but if I enter t or say c1, the program stops.

I'm not at my own computer right now, and thus don't have access to a compiler, and this is a bit much to run in my head... but it looks like *tail may never be initialized to anything if your first input is not 'A'.
Last edited on
thank you!
Topic archived. No new replies allowed.