Search:

Type: Posts; User: Shmamy

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    3,703

    Passing by value/reference?

    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...
  2. Haha its okay. Everyone has to be wrong at some...

    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...
  3. So I fixed the original problem (I think) but now...

    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 "...
  4. Maybe that's what I'm trying to do. I put it in...

    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...
  5. Hmmm, now that I'm looking at it again I can't...

    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...
  6. "Expressions must have (pointer-to-)" I'm stuck. :(

    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...
Results 1 to 6 of 7