aks29921's Profile User Rating: -----

Reputation: 108 Stalwart
Group:
Contributors
Active Posts:
308 (0.16 per day)
Joined:
24-August 09
Profile Views:
4,307
Last Active:
User is offline Yesterday, 02:44 AM
Currently:
Offline

Previous Fields

Country:
IN
OS Preference:
Windows
Favorite Browser:
FireFox
Favorite Processor:
Intel
Favorite Gaming Platform:
Who Cares
Your Car:
Who Cares
Dream Kudos:
50

Latest Visitors

Icon   aks29921 has not set their status

Posts I've Made

  1. In Topic: Timestamping Issue in BigInteger Calculations

    Posted 15 Dec 2014

    View Postg00se, on 15 December 2014 - 04:58 AM, said:

    See above. Typically you'll want to either/both

    a. Use System.nanotime
    b. Run the code n times and take the average

    nanotime's cool. Didn't know about it.
  2. In Topic: Timestamping Issue in BigInteger Calculations

    Posted 15 Dec 2014

    View Postg00se, on 15 December 2014 - 04:49 AM, said:

    Your problem could just be that your machine is too fast - get a slower one ;)/>

    And it works for debug only because it has to wait for the F8 to be hit? Thats odd :)
  3. In Topic: I'm having trouble figuring this code out

    Posted 11 Dec 2014

    I started pointing out specific mistakes in your code but there are just too many. You are trying to use variables that you have not declared and methods you have not defined. Also, you have not created an object for your class.
    Please read your textbooks/go through some basic java tutorials online and then try to write code.
    For a start, do you understand the difference between a variable and a method?
    You can start with this link:
    http://www.horsesnw..../JavaMethod.htm
  4. In Topic: Java Merge Sort Not Working

    Posted 10 Dec 2014

    if(hi-lo > 2), what kind of condition is this?
    I would simply do if (hi > lo).

    For merging, you're already doing int b = mid + 1; in merge().
    So for calling it you don't need mid + 1 again.
    merge(lo, mid, hi); should do.

    Fixing these two issues should make it work.
  5. In Topic: GUI log in issue , Trouble with IF statement / for loop

    Posted 29 Nov 2014

    It would be better to keep getMemberForPin() method for only that purpose. Don't try to mix any display logic with it. So you don't need the displayTa.setText() in it. Keep it the same as what CasiOo gave.
    In the method where you call getMemberForPin(), get the MemberDetails that it returns, check if it is a value then do what you intend to do in if (the Welcome back thing). If getMemberForPin() returns a null, do what you are trying to do in else :)

My Information

Member Title:
D.I.C Regular
Age:
28 years old
Birthday:
October 14, 1986
Gender:
Location:
Dublin
Interests:
Programming, Sports, Partying, Travelling, Cooking
Years Programming:
12
Programming Languages:
C,C++,Java/J2EE,VB.NET,C#.NET

Contact Information

E-mail:
Private
Website URL:
Website URL  http://
Twitter:
aks29921

Friends

Comments

aks29921 has no profile comments yet. Why not say hello?