Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
Ranked #3K
~28.7K People Reached
About Me

Nerd

PC Specs
x6 3.2ghz HD 5870 16GB gddr3 2TB Win7x64pro
Favorite Tags

25 Posted Topics

Member Avatar for Cort3z

Hi. I have a little problem with my code. I want to cast a complete arrayList to a different type, but java wont let me... Here is a compressed version of what is happening: [CODE] //The interface I use. public abstract interface Drawable{ //some methods } //A class that is …

Member Avatar for JamesCherrill
1
7K
Member Avatar for Cort3z

Hi. I am trying to make a script that will print out numbers in rapid succession after working a little with them. The script needs to write them in the console one after another (next line). The code works just fine when I do not utilize multi threading, but when …

Member Avatar for Puneet_1
0
16K
Member Avatar for Cort3z

Hi! I am looking for a laptop with DirectX 11. It needs to be nVidia graphics, and preferably light. Price is not really an issue as long as these 2 criteria is fulfilled. I have looked at the Vaio Z, but they only got dx10. Other than that, they are …

0
72
Member Avatar for oldetimer

If I were you I would go to a real career advisor. I know they exist in my contry, hopefully you can find one in yours:)

Member Avatar for alc6379
0
125
Member Avatar for muzikhera
Member Avatar for Cort3z

Hi! I am working on an program that basicly needs a large list. The program works fine untill i comletely fill up the "List<Object>" type. And no, it is not due to lack of ram. The program tries to add more than System.Int32.MaxValue ammount of objects. I have thought about …

Member Avatar for Cort3z
0
3K
Member Avatar for selasedaniweb
Member Avatar for Anonymous3
Member Avatar for fx5500

"where row = '4'"? It is hard to interpret your code. Sounds like you have a sql-issue, not a C# issue.

Member Avatar for Cort3z
0
104
Member Avatar for Cort3z

I'm developing a web-program that needs to check a whole bounch of potentially faulty http-links. Now, I have found a way of doing this, the only problem is that it relies on try-catch, not in it self horribly bad, but the time it takes to check the links is extremely …

Member Avatar for Cort3z
0
112
Member Avatar for Cort3z

Hi. I am working on a multi threaded program (game renderer). What I want to do is to loop through my threads and get a boolean value that tells me if the thread is done rendering or not. If all the threads is done, I want the code to go …

Member Avatar for Cort3z
0
68
Member Avatar for hermann87

I believe that would be correct. Since B get everything from A, and then changes booleanA. So when example gets everything from B it will have the values: False, true, true.

Member Avatar for NormR1
0
80
Member Avatar for shingo99

Please use CODE-tags to post code. It makes it a lot easier to read! Also, try to write better English. It is hard to understand what you write.

Member Avatar for Cort3z
0
514
Member Avatar for Cort3z

Hi. I got a noobish question: Is it possible to return an array "directly", so, something like this. [CODE] public int[] getArray(){ return int[]{this.intA, this.intB}; } [/CODE] I know I can just make the array first. But does this not use unnecessary cpu time and memory? This is going to …

Member Avatar for Cort3z
0
109
Member Avatar for pmedic

Then write #*7; not "# to the power of 7". This is basic math. Consider learning that before Java :)

Member Avatar for NormR1
0
89
Member Avatar for gretty

"while (validInput == false)", it would be more esthetically pleasing to write "while(!validInput)". [CODE] public static float calculateInterest( float mortgage, float interest, int period ) { // Post: float intRate = interest / 100; return mortgage * intRate * period; } [/CODE] This can be made more efficient by writing: …

Member Avatar for Cort3z
0
130
Member Avatar for fullgl

Can't you just flip the array when it is sorted? Sure, it is not optimized, but it works.

Member Avatar for Cort3z
-1
191
Member Avatar for Cort3z

Hi, I'm working on a game for a homework assignment. We are a group of 4 and basicly got the game running now, but we got issues with the rendering/drawing. I use BufferStrategy to get double buffering, and i have a custom draw-loop in a canvas. What this does is …

Member Avatar for Cort3z
0
96
Member Avatar for Cort3z

Hi, I'm trying to set a double-value, but somehow it does not take my statements. This is what I got: [CODE] public double getDouble() { return aDoubleValue; } public double getAnothertDouble() { return aDoubleValue2; } public void myMethod(MagicObject a) /* Some magic */ //Here lies the problem: (FX is a …

Member Avatar for Cort3z
0
95
Member Avatar for smokin745
Member Avatar for rena0514

Here is what you do: get all your integers into a int array (like this: int[] intArray = new int[count]; Make sure to count your integers first (run trough the file and count them)). Ok, so next you want to use something that is called modulo. The operator you use …

Member Avatar for jwenting
0
147
Member Avatar for Cort3z

Hi. Im working on a text-based "game" that uses strings to generate maps. So I need to split these strings into bits that i can work with, but somehow the .split method kills the white space in my string. How can I get around this? Of course I can force …

Member Avatar for masijade
0
170
Member Avatar for hooligan2008

The problem might be that there is 11 digits in you value. Regular integer values only takes 10, so you might get a memory loop or whatever it is called where the value gets to high, so it starts at the bottom and works it was up from -2,147,483,648, or …

Member Avatar for ~s.o.s~
0
172
Member Avatar for Cort3z

Hi. I'm working on a encryption thing. For it to run properly i need jsp to be able to handle big integer numbers (10^15 and higher). The long variable gets me to about 10^9, but that is not enough. I cant seem to find a way to force jsp to …

Member Avatar for ~s.o.s~
0
69
Member Avatar for Cort3z

I am trying to make a cookie that should contain a number value. It all work fine, unless the form that sends the info to my receiver page sends and empty string. Then something strange happens. It does not seem to be empty, so my error checker does not detect …

Member Avatar for ~s.o.s~
0
142

The End.