User Profile

Collapse

Profile Sidebar

Collapse
PatrickF
PatrickF
Last Activity: Dec 12 '09, 03:05 AM
Joined: Dec 10 '09
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Thank you for your response. I was deserving of the criticism as I did jump to conclusions.
    But mostly, what was probably the most insignificant thing in your post, put in parenthesis, saves my day. It's a wonder how two darned stray semicolons got in my code, and even greater a wonder how I was oblivious to it after a few hours of staring at my code. I can't thank you enough for your help to this amateur programmer.
    See more | Go to post

    Leave a comment:


  • If statements executing regardless of false conditions

    Hi, I am writing a simulator for a game. I have been stuck at a couple if statements executing regardless of false conditions every time the flow of execution reaches it. Here's the format with psuedo-variables:

    Code:
    if(timeA - timeB >= 3 + count * 3)
    {
         x += y;
         count++;
    }
    Then, I have another one with almost the exact variables. I am writing this in BlueJ and used the debugger to...
    See more | Go to post
No activity results to display
Show More
Working...