19 more posts in this thread. [Missing image file: Java_Logo.jpg]
Anyone feel like helping me out? I've been working on my Java program, but I'm having a little trouble, I'll post my code below, but here's the assignment:
(The Location class) Design a class named Location for locating a maximal value and its location in a two-dimensional array. The class contains public data fields row, column, and maxValue that store the maximal value and its indices in a two-dimensional array with row and column as int types and maxValue as double type.
Write the following method that returns the location of the largest element in a two-dimensional array:
public static Location locateLargest(double a)
The return value is an instance of Location. Write a test program called TestLocation that prompts the user to enter two-dimensional array and displays the location of the largest element in the array. Here is sample run:
Enter the number of rows and columns of the array: 3 4
Enter the array:
23.5 35 2 10
4.5 3 45 3.5
35 44 5.5 9.6
The location of the largest element is 45 at (1, 2)
7 more posts in this thread. [Missing image file: worry.jpg]
Help me /g/, I'm having a really weird problem with my PC...
I always wondered why my PC was comparatively slow, slower than it should be. It was a pretty nice setup in 2008
>8 gigs RAM
>two 9800gtx+ 512mb in SLI mode
Now, I recently found out why the performance was always this disappointing. The GPU usage never goes beyond 50% on both cards. Of course I considered a CPU bottleneck at first, but things started to get strange when I turned one of the cards off and the GPU usage still didn't go beyond 50% yet I got the same framerates in every game I tried.
Why is this happening /g/? It's like I can use my video cards only to 25%... Is it my processor, or something else?