Search:

Type: Posts; User: lightOfDay

Page 1 of 2 1 2

Search: Search took 0.12 seconds.

  1. Replies
    4
    Views
    824

    Re: How to rearrange an array?

    Since you are "Compiling" into a string, you can just use a reverse loop, like Junky said, and then add the elements one at a time to w. Don't forget to add spaces!
  2. Replies
    26
    Views
    1,413

    Re: SIMPLE PROGRAMING PROBLEMS help!!

    True, but when you think about it &, |, &, and ~ (Does Java have bitwise-not?) is designed for numbers, not Booleans. A SIDE EFFECT of booleans being bytes makes it work on booleans like you would...
  3. Replies
    9
    Views
    537

    Re: 3D Rotations

    Admittedly I've only gotten the perspective to work once XD. I'm interested in this now though... I have yet to find a matrix that can do projections...how do you do that? I'm glad you went with the...
  4. Replies
    4
    Views
    466

    Re: Creating an algorithm to do this

    How about searching for some code on Google that does this kind of loop? Maybe "nested loops" or "looping over 2D array" might help. Even if it's code in C, C++, C# or some other language you might...
  5. Re: Please help ! k Queens domination nxm chessboard problems.

    Hmm... Well, since you can fit most any program to a stack...try doing it without a stack first. Keep in mind you can probably use more than one stack. ;)
  6. Re: can you give me some links to simple java tutorials (pdf)

    Practice: spam link removed

    Seriously, the way I learned was making random fun stuff. I didn't master Java until I decided to make a program that could be put on a computer system to run a bank. I...
  7. Replies
    1
    Views
    328

    Re: How to go about this?

    I think we might need more details as to what work you have done and the specifics of what needs to be done.
  8. Replies
    13
    Views
    1,093

    Re: Creating a close button

    You still have a System.exit() call? It must not actually be called, because...well...that stops EVERYTHING.
  9. Replies
    26
    Views
    1,413

    Re: SIMPLE PROGRAMING PROBLEMS help!!

    & is not a logical operator, strictly. However it is good to know that it is a short-circuit work around, and not a 8-times the calculation minimum faceplant. :D
  10. Replies
    2
    Views
    291

    Re: Variable value in internet query

    I hate JavaScript. In my opinion you should just...try not to use it...at all costs, except impossibility. And who told you JavaScript is called "Java"? They're...well they're...they don't know what...
  11. Replies
    3
    Views
    392

    Re: New to programming and need some help

    I believe that is what he means. The only thing you have to change from M = p*(i*(1 + i)^n)/((1 + i)^n - 1) is that instead of x^n you have to make it Math.pow(x, n), because in Java x^n means x XOR...
  12. I just had a super crazy idea...typical for me

    Okay, I just came up with this AWESOME idea where I make an OS...easier said than done. But I'm luckily not without resources or experience. I just need two things...1) Help with a project that is...
  13. Replies
    15
    Views
    617

    Re: What is the invarient of this code

    Gosh... I don't know what to think...

    This is what I found about the invariant, and I don't know if it is applicable to your problem. The invariant is either an input that is unvaried by the...
  14. Re: How to recognise objects from a new window

    So you want to "tap into" another program?
  15. Re: What does "play computer" hand trace segment of code mean?

    Depends on what you are doing. How complicated is your program. I know when I trace that I have like 5 stacks of papers that all mean different things. Plus a stack of papers for every class I ever...
  16. Replies
    9
    Views
    537

    Re: 3D Rotations

    The division for perspective projection. I think he got confused. Here's what I do for perspective projections. A perspective projection needs a field of view, a constant of projection. This is...
  17. Replies
    6
    Views
    617

    Re: Development Process

    Is it proper to use a sort of "prep commit" for A) preparing the particular release/development process for the particular development process/feature to be merged, and B) shaping the history to be...
  18. Replies
    6
    Views
    14,213

    Re: How to make console output bold

    It's worth noting that NetBeans is going to react differently then your console. Try exporting it to a runnable jar and test it, that should give you an idea of what it actually looks like.
  19. Replies
    6
    Views
    617

    Re: Development Process

    Cool. Thanks alot, you guys are super helpful.
  20. Replies
    6
    Views
    617

    Re: Development Process

    Yeah, I'm using Git, and It has a bit of a learning curve, especially the first time I used the command line and interactive rebase when I made a huge mistake LOL. Why did they have to make VIM so...
  21. Replies
    3
    Views
    387

    Re: complete noob, direction needed pls.

    Who said you had to make the changes to the original string? Copy it, then reference back to the original as you make the changes, finally return the copy when it's all done :D
  22. Replies
    3
    Views
    2,882

    Re: Ability to decode Java JAR files

    Even executables can be decoded in some long, roundabout, and time consuming way. But put it this way. If your game gets pirated, and a potential customer sees the pirated version, if they REALLY...
  23. Replies
    3
    Views
    541

    Re: Socket Problem

    As copeg said, timeout is probably the way to go. There is a reason timeout was invented, and that's because there's not many other options. If you're not already, you will have to multi-thread...
  24. Replies
    26
    Views
    1,413

    Re: SIMPLE PROGRAMING PROBLEMS help!!

    Just because you mentioned it, I thought I would point something out about bitwise operators. It doesn't do logic that normally makes any sense whatsoever. It does the low level calculations that...
  25. Replies
    6
    Views
    617

    Development Process

    Sorry for the text wall.

    So I didn't know where to best put this, and I feel like a noob...probably because I am. :/ Anyhow, I'm making a project with a google code page and a Git and all...
Results 1 to 25 of 41
Page 1 of 2 1 2