Okay, so I don't really get this and the way my book explains it just makes it worse.
Passing by value is used if a parameter's data flow is:
A: one-way, into the function.
B: one-way, out of...
Type: Posts; User: Shmamy
Okay, so I don't really get this and the way my book explains it just makes it worse.
Passing by value is used if a parameter's data flow is:
A: one-way, into the function.
B: one-way, out of...
Haha its okay. Everyone has to be wrong at some point or another! That's how we learn. I ended up rewriting it quite a bit and now for the most part it does what it is suppose to. To the point where...
So I fixed the original problem (I think) but now I have a new problem. *super sigh* Suggestions? Its just not been a good programming day for me.
Now it gets up to the "Total tiles required is "...
Maybe that's what I'm trying to do. I put it in my program but all the rest of my program fell apart. So I dunno. I'm going to have to go back through it tonight and change all kinds of stuff. This...
Hmmm, now that I'm looking at it again I can't believe I did that. Teach me to try and program before I have coffee, but I'm still suck. Okay so what I need it to do is add the room tiles together...
So I wrote out my code, and yes there is probably a better way I could have done it, but I'm not going for awesome. I just want to get it done. I was almost done and one of my variables came out...