This function seems really bulky and I'm pretty sure that it can be simplified down. Can someone help me do this?
int sd_solve(int x, int y, int n){ //Checks if n is a valid...
Type: Posts; User: Shackdaddy836
This function seems really bulky and I'm pretty sure that it can be simplified down. Can someone help me do this?
int sd_solve(int x, int y, int n){ //Checks if n is a valid...
You mean put that in instead of the wall of if, else if, and else statements in the sd_solve?
Thanks all. I'll make sure to site all my sources. :)
So, it doesn't look copy & paste?
The reason why I'm kinda freaking out is because this is a college course. So, if it looks like I just used someone else's work then I'm betting he'll give me a...
I'm trying to do a Sudoku solver for my class. I got stuck during the sd_solve portion of my code and looked up how to do it on the web.
I found this website that shows exactly what I am trying...
I still really don't know what to do. I've never done a struct function like this before. Did I do my code completely wrong and do I have to start all over up above?
Also, on the main code I...
Ok. So am I way off or do I just need to make a couple of changes? I've never used struct functions before(I have to use a struct btw. I didn't mention that before). I've looked around on the...
Hello. I've hit a bit of a speed bump with this program I'm trying to write. When I try to compile the code, I keep getting errors such as "used struct type where scalar is required".
I'm don't...
Ok. I think I get what your saying. So if I wanted to have more than 3 stacks then how would I change a stack without doing 'q->top--' or whatever? Would I be able to decrease 'n' or is that still...
He wants me to use a stack implementation (I think). But ya, based on the 50 sites I've looked on for help it seems they are all using arrays...
I will go ahead and post the FIFO implementation...
Fixed. Sorry. I'm new :)
Hey, I've been working on this program for a very long time now for my class and I'm kinda freaking out because it still doesn't work and I have no clue how to fix it. Our assignment is to make a...