- Strength to Increase Rep
- +8
- Strength to Decrease Rep
- -2
- Upvotes Received
- 38
- Posts with Upvotes
- 30
- Upvoting Members
- 16
- Downvotes Received
- 2
- Posts with Downvotes
- 2
- Downvoting Members
- 2
- Interests
- Deep Learning, Generative Adversarial Networks, Neural Networks, Artificial Intelligence, Genetic Algorithms,…
Re: // The "FriedmanRPSgame" class. import java.awt.*; import hsa.Console; public class FriedmanRPSgame { static Console c; // The output console public static void main (String[] args) { c = new Console (); // VARIABLES int rock; int paper; int scissors; // INPUT c.println (" Choose 1 for rock, 2 for paper, … | |
Re: Hi, I'm wondering if it's possible to have a desktop app with a database online? Can you give me an example? :P | |
Hello, I am working on a simple timer toolbar app in swift for macOS and I am experiencing a visual bug. Basically, I should be able to add any number of timers to the main screen and they should stack on top of each other. Once the space is filled … | |
I just bought a Samsung Slim External DVD Writer SE-S084F. The computer recognizes the drive, but when I put in a cd the drive constantly connects and disconnects while trying to read it. I have went on the website and I followed the installation instructions, but still nothing. Thanks for … | |
Hello everyone, I am trying to write an object loader in c++. Currently, I have a file that is made up of many sub objects and I am having a little difficulty figuring out how to process the data. First of all, here is an example of part of the … | |
Re: Hello, I'm in a beginning Java class, and I am lost :( My homework calls for me to write a program that takes an integer (of unknown length) and prints it one digit per line, like: 5 6 9 8 6 4 3 I have been googling this for hours … | |
Hello All, I am having trouble looping through a 2D array in C++ (should be very easy, but I am just starting C++). At the current moment I have this class file #include "Cube.h" #include <freeglut.h> #include <stdio.h> Cube::Cube(int cx, int cy, int cz , int cubeWidth) { int p[][3] … | |
Hello everyone! I am writing a GA, and I am trying to implement elitism. My problem is an interesting one. I cannot release too much code because it is an ongoing assignment. I have asked the TA, and he is unable to find the solution as of this moment. The … | |
Re: Hi everyone. Ive finally figured out how to get my JOptionPane always on top no matter what but i cant figure out how to get the results of what button the user has clicked? and how to disable the x on the top left corner? This is what I have. … | |
Hello Everyone! I am wondering about the thory behind the box blur. I have an assignment, and I wrote a program implementing the box blur the way it was described in my assignment which is "When centered on a pixel, its values are multiplied with each corresponding surrounding pixel values, … | |
Hello All. I am having 2 problems here with my code. I will start off with the video code first. The video code should capture 20 seconds of the screen at 50fps, however, when I generate it, it generates a 1 minute 7 second video, and I am not sure … | |
Hello Everyone, I am experiencing errors when trying to compile a project in Java 8. The errors are caused by swing components. The code I am using is the following: import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JPanel; public class Main2 { public Main2(){ JFrame f = new JFrame (); f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); f.setSize(100, … | |
Hello Everyone. I am wondering if anyone has any experience working with Korean characters. I attempted to find out how to split them up, but I have had no success thus far. What I was thinking is having a character like "안" and having it split up into "ㅇ", "ㅏ"and … | |
Re: I am needing to write a program for someone that needs it to count by any number they manually enter into the program. I have the menu code written and now just need help with the counnting code. I know i most likely need to use a "for" loop but … | |
I have a computer that came preloaded with windows 8, and I have noticed that when I leave it on without using it for a while (maybe 15 mins, haven't actually timed it) it will say that I am connected to the internet with internet access, but when I try … | |
Re: lolpython I FUTURE CAT WITH print_function SO IM LIKE main OK? VISIBLE LOL Hello world /LOL IZ __name__ KINDA LIKE "__main__"? main THINGZ | |
Re: write the psuedocode for a computer program that computes the sum of the numbers on the diagonal of a 10 x 10 integer array named *numbers*. Here is what i got but i'm not sure: int SIZE = 10; int [ ] numbers = new int[SIZE] [SIZE]; for (int I … | |
Re: Can someone help me write a program to compute the computer programming grades of 8 IT students. ● Randomly create student numbers for each of the students and store each in an array. The program should take the input of (validate the input where appropriate): ● Names of Students and … | |
Good Day. I am currently running into a problem. I have 2 activities. My first activity launches the second one. Once the second one has done some work it calls the finish() method in order to destroy itself. Then my previous activity pops up which is what I would like, … | |
Good Day. I am relatively new to android programming and I am having problems displaying action Items on my action bar. I can manipulate my actionbar through Java code (show and hide text, Icon and action bar), however when I try to add my own images to the action bar … | |
I am having a problem deleting nodes from my Binary search tree. What I have so far does part of what it is supposed to do. I read in an input (paragraph of text) to create the tree (organized via ASCII character values). I make it, then print out all … | |
Re: private class LogReserve extends JFrame{ public LogReserve(){ setTitle("Hotel Reservation"); setLayout(null); lblNTitle1 =new JLabel("RESERVATION SYSTEM"); lblNTitle1.setBounds(220,5,150,40); lblNTitle1.setBackground(Color.DARK_GRAY); lblNTitle1.setForeground(Color.BLACK); add(lblNTitle1); JLabel lblUsername =new JLabel("First Name:"); lblUsername.setBounds(55,30,80,40); lblUsername.setForeground(Color.DARK_GRAY); add(lblUsername); txtUsername=new JTextField(""); txtUsername.setBounds(130,39,150,22); add(txtUsername); JLabel lbllastname =new JLabel("Last Name:"); lbllastname.setBounds(310,30,80,40); lbllastname.setForeground(Color.DARK_GRAY); add(lbllastname); txtlastname=new JTextField(""); txtlastname.setBounds(390,40,150,22); add(txtlastname); JLabel lblBirthd =new JLabel("Check In Date:"); lblBirthd.setBounds(55,70,90,40); lblBirthd.setForeground(Color.DARK_GRAY); … | |
Hello. I am designing a calculator app as part of a project. I have all the buttons inserted in the correct order. My problem is that the last column of buttons horizontally fills up the rest on the unused screen. As the device size scales, the more and more the … | |
Hello. I have just purchased a Lexar JumpDrive S50 32 gigs and I am having trouble accessing the USB. The USB shows up in the my computer window with a grayed out icon and when I double click it it states "Please insert a drive". The same statement is displayed … | |
Re: I always feel sleepy at work . During afternoon.. | |
I am wondering how to start drawing a network diagram. The way it was described to me I need to go into the configuration settings of the switches and check what type on connection there is and document where the connection is from, to where the connection is going. Then … | |
Re: Hi All, I have just finished reading fundamental topics in Java and now i have decided to do a New Project in Java which comprises all basic features of Java. I need help in Understanding/visualizing the architecture / Design model for my Project. Specification is : 1 . Develop a … | |
Re: HI I am a web developer as the client said me I developed in the same way after getting the site developed the client is saying that we are not satisfied by the work you did and even they have changed the FTP password also and now I am not … | |
Re: For the below program: import java.util.*; public class triangleLoop { public static void main (String[] args) { int height, row, col, spa; String leftOrRight; char hyp; Scanner kbd = new Scanner(System.in); System.out.println("Enter the desired height of the triangle: "); height = kbd.nextInt(); kbd.nextLine(); System.out.println("What side do you want the hypoteneuse … | |
Re: I'm having trouble with this: import java.util.Scanner; public class triangleLoop { public static void main (String[] args) { int height, row, col, spa; String hyp; Scanner kbd = new Scanner(System.in); System.out.println("Enter the desired height of the triangle: "); height = kbd.nextInt(); System.out.println("What side do you want the hypoteneuse on? (left/right)"); … |