- 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: first of all you have capitalization problems in your code (Computer). Then you also need to put brackets around each of the cases when you are checking them. | |
Re: I have had this same question. Though I could not figure out how to get it to work you use Mysql and JDBC to make an online database on a server. you then connect to the server and write, or read from the database. please message me if you figure … | |
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: you could get the number and set it as a String, then you can convert the string into a character array, then you can find out the length of the array, and then use a for loop with the length as a parameter, and print it out one by one | |
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: A quick look at the [documentation](http://docs.oracle.com/javase/7/docs/api/javax/swing/JOptionPane.html) suggest to me that there is a getInputValue() function that you might want to look at. I hope you can figure it out! | |
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: that's easy just put while loop that has a number in it then print the number then put an empty for loop and then add 5 to the number then repaint/ redraw the number and continue. it should look something like this: [CODE] int a = 0; while (a == … | |
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: QBASIC CLS PRINT "HELLO WORLD" | |
Re: ok. First there are several thing I would like to point out. When you are summing you set the number at I equal to the sum at I. What you want to do is create another variable outside of the loop, and add the number at the I value to … | |
Re: As you have not shown any work I cannot provide you with any specific examples, however you will want to take a look at the [Random class](http://docs.oracle.com/javase/7/docs/api/java/util/Random.html) and [arrays](http://docs.oracle.com/javase/tutorial/java/nutsandbolts/arrays.html) Please show the work you have done and ask a specific question to get more helpful results. | |
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: First of all when the button is pressed you want to make a connection to the database you are storing the information to. You would probably use [JDBC](http://www.oracle.com/technetwork/java/javase/jdbc/index.html) to accomplish this. Then you would proceed to retrieve the data and store it in the correct fields through the connection. Once … | |
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: Drink coffee and or another caffeinated drink, and listen to upbeat music, while singing to it as well as I can (which is sometimes difficult because I like music that isn't English). Moving my feet and streaching also helps. I also make it as bright as I can, and I … | |
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: Have you tried writing the information in the text fields to a file. You can then read and write to that file to set up the text fields. | |
Re: I don't know about what to do this time, but next time the way I would do and show him the website is either through your computer, or on a subdomain for your website. That way he can tell you what to adjust and can test it out. Then once … | |
Re: use a while loop and check if the string matches the wtwo options. | |
Re: I'm not sure. Try breaking it up into multiple steps and print it out step by step to see where it might be going wrong. What happens when you change it to charAt(1), does it return the second character or throw an error again? |