CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Barancle

Page 1 of 6 1 2 3 4

Search: Search took 0.04 seconds.

  1. Replies
    3
    Views
    695

    What is the problem? It's hard to help without...

    What is the problem? It's hard to help without that.
  2. Thread: A riddle

    by Barancle
    Replies
    12
    Views
    1,076

    Oh, was this already asked (if so was it...

    Oh, was this already asked (if so was it answered?). I'd look but that thread (79 pages long!!!) is just too much to sift through.
  3. Thread: A riddle

    by Barancle
    Replies
    12
    Views
    1,076

    Well, I'll let it sit for a little just in case...

    Well, I'll let it sit for a little just in case someone is trying to solve it.

    This is not a trick question or anything, there is only one pair of numbers that could work. Each line of the...
  4. Thread: A riddle

    by Barancle
    Replies
    12
    Views
    1,076

    lol:D, Good try but not quite. I guess 42's not...

    lol:D, Good try but not quite. I guess 42's not the answer to life the universe and everything after all.
  5. Thread: A riddle

    by Barancle
    Replies
    12
    Views
    1,076

    A riddle

    Hello everyone, here is a riddle for you all. (If you have already heard it and know the asnwer don't spoil it for others.) I got this from my math teacher who got it when he was in grad school from...
  6. Replies
    5
    Views
    683

    This is my prof's last semester of teaching as he...

    This is my prof's last semester of teaching as he will be retiring,and I get the feeling he really doesn't care anymore. I just asked him and he said going from 0-59 and seeing if it was from...
  7. Replies
    5
    Views
    683

    Suggestions for this assignment?

    Our teacher gave us this assignment. I didn't think the explanation was very clear but I tried to impliment it as best I could. I was wondering if anyone had any suggestions to improve the code. ...
  8. Replies
    6
    Views
    1,799

    Yes it is possible. The drawString() method is...

    Yes it is possible. The drawString() method is part of the Graphics object so your other method should accept a Graphics object for it's parameters.



    void myMethod(Graphics g){
    ...
  9. Replies
    6
    Views
    978

    On a related note, any idea when they might...

    On a related note, any idea when they might update the test for the 1.5 Platform?
  10. Replies
    6
    Views
    978

    It's the Sun Certified Java Programmer Exam. ...

    It's the Sun Certified Java Programmer Exam. Here's some info...

    http://suned.sun.com/US/certification/java/

    A really good book is "Java 2 Sun Certified Programmer & Developer" by Kathy Sierra...
  11. Replies
    3
    Views
    922

    I certainly hope you can't do this. That would...

    I certainly hope you can't do this. That would be the biggest security hazard I have ever heard of.
  12. MtX, your while loop will not work corectly. It...

    MtX, your while loop will not work corectly. It will stop after only one of the files is used up truncating all the left over cities in the other file. This is why i set up my for loop the way I...
  13. Good call dlorde, that works much better, I don't...

    Good call dlorde, that works much better, I don't know what I was thinking.

    MtX, so change this line


    else if(f1.firstElement().toString().charAt(0) < f2.firstElement().toString().charAt(0))
    ...
  14. One note, the way I compare the Strings is not...

    One note, the way I compare the Strings is not very good, it only looks at the first letter of every city. But it should at least give you a good starting point.
  15. Well, as I didn't see a question I took the...

    Well, as I didn't see a question I took the liberty of making something that does work. It my not be the best solution but from what I tested it seems to do the job.

    import java.io.*;
    import...
  16. MtX, ArrayMerger doesn't exist except for the...

    MtX, ArrayMerger doesn't exist except for the fact that I made it. You are allowed to use for loops and if else statements aren't you?

    If you don't want it to be a class just make a method that...
  17. Well, I played around and came up with this. It...

    Well, I played around and came up with this. It should work in most cases. Don't just copy and paste, study it to learn how the logic works.


    import java.io.*;
    import java.util.Vector;
    ...
  18. Replies
    9
    Views
    1,017

    Hmm, i assumed you had a try catch in the first...

    Hmm, i assumed you had a try catch in the first method but now I 'm not sure try something like this...


    try{
    CryptoMachine cm = new CryptoMachine();

    BufferedReader br = new...
  19. Replies
    9
    Views
    1,017

    You're going to have to post your whole program,...

    You're going to have to post your whole program, that part compiles fine for me.
  20. Replies
    9
    Views
    1,017

    did you declare input and output as Strings...

    did you declare input and output as Strings beforehand? If not you should probably add 'String' before each one.


    System.out.println("Input File Path: ");
    String input = br.readLine();
    ...
  21. Replies
    9
    Views
    1,017

    System.out.println() returns void and you are...

    System.out.println() returns void and you are setting input and output by using that method so I believe they are both still set to null. Then you are calling encrypt(String, String) but both your...
  22. Replies
    71
    Views
    40,909

    cjard, that was awsome! Now I have no excuse for...

    cjard, that was awsome! Now I have no excuse for not playing around with gbl and making my GUIs do what I want it to. If you keep making tutorials like this you might have to find yourself a...
  23. Replies
    5
    Views
    742

    or if you don't like the *= operator it's the...

    or if you don't like the *= operator it's the same thing as this...

    double x = 3;
    x = x * x;
    x = x * x;
    x = x * 3;
    x = x * x;
    x = x * x;
    System.out.println(x);
  24. Replies
    5
    Views
    742

    double x = 3; x *= x; x *= x; x *= 3; x *= x;...

    double x = 3;
    x *= x;
    x *= x;
    x *= 3;
    x *= x;
    x *= x;
    System.out.println(x);
  25. Replies
    8
    Views
    1,276

    cjard, that would be awsome, I have been wanting...

    cjard, that would be awsome, I have been wanting to learn GridBagLayout for a little while due to it's many advantages, but I have been put off by it's steep learning curve.
Results 1 to 25 of 127
Page 1 of 6 1 2 3 4





Click Here to Expand Forum to Full Width

Featured