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

Search:

Type: Posts; User: mephala

Search: Search took 0.02 seconds.

  1. Replies
    2
    Views
    1,321

    Re: Adding Roman Numerical

    Well, addition is defined in terms of numerical symbols. Therefore there is no way to do it without converting roman numbers to decimals at some point. Unless, you create a new addition interface for...
  2. Replies
    5
    Views
    3,762

    Re: Question about Threads/Events

    Hello again,

    Your understanding is almost correct : )
    In the paintComponent() method, you are painting components in a for loop.
    If there is a collision, then the Thread in the paintComponent()...
  3. Replies
    5
    Views
    3,762

    Re: Question about Threads/Events

    You have two instances of Ball objects in the Ball_Bounce object. Hence you get the same message from each one of them.
    Having a separate object to move balls and detect any collusion seems like a...
  4. Replies
    2
    Views
    2,421

    Re: Need help with my code

    Hello,
    This is Javascript. Java and Javascript are different languages although they have similar names : )
    Good luck.
  5. Re: Don't know how to write a client class to test methods for an assignment

    I believe you just need to create two objects with different attributes, test that they are not equal.
    Then again create two objects with same attributes and test that they are equal.
    Also use...
  6. Replies
    9
    Views
    4,169

    Re: Understanding Object Oriented Programming

    I will try to be very simple and clean to be understood.
    Everything is object.
    No matter how much you differ, you have to carry some fundamental properties of your ancestors. Because you "inherit"...
  7. Replies
    2
    Views
    1,207

    Re: help writing a java application

    Sorry for not completing your homework for you, please be more specific about exactly which aspect of your problem causes you trouble ?
    You are struggling to prompt user ? You failed to read user...
  8. Re: Application of Web Services in non-computer industry

    Hello,

    This question is a bit vague my friend.
    Web service is basically a "Web Site" in which you can communicate with a given protocol.
    So you are basically asking where web sites are used in...
  9. Thread: Close Scanner

    by mephala
    Replies
    4
    Views
    1,090

    Re: Close Scanner

    At eclipse, it probably asks you to close the scanner after you are done listening the console.

    It is always good practise to close inputstream once you are done getting input when reading file,...
  10. Thread: Fast Java

    by mephala
    Replies
    2
    Views
    1,043

    Re: Fast Java

    Hello,

    Sounds like divide & conquer is a good plan to this problem.

    In terms of engineering, you can not hold "huge" data in RAM memory once you keep them in DB.

    Therefore you should get...
  11. Replies
    2
    Views
    1,013

    Re: Java tutorial literature

    Hello,

    I would recommend : http://shop.oreilly.com/product/9780596009205.do

    Take care!
  12. Replies
    1
    Views
    1,336

    Re: Guessing Game project

    Hello,

    It seems like you are holding playerGuesses in an array but you do not keep how close they are in a seperate array. That could be the problem.

    If not, please send the whole code so I can...
  13. Replies
    2
    Views
    1,013

    Re: Java tutorial literature

    Hello,

    Regardless of level, I would recommend this to anyone : http://shop.oreilly.com/product/9780596009205.do
  14. Re: Help to sum all element of an array list that is in a method

    At first glance , I noticed you have 2 return statements in the method "terms". Delete the one in the loop and you should be fine.
Results 1 to 14 of 14





Click Here to Expand Forum to Full Width

Featured