Parallel Arrays in Bool function (diff. part of pw manager program)
Ok so I'm stuck on a different part of the password manager assignment. For this part we are suppose to read the logins and passwords for existing users from file "password.txt". Then we are suppose to...
View ArticleJava Greatest Common Factor Two Numbers
Hello, trying to figure out why this program isn't working. Most likely a logic error because I am terrible at gcds and primes. Please take a look? public static int maxFactor(int a, int B)/> {...
View ArticleStrange C++ homework issue.
Hello guys, I would really appreciate it if someone would help me with this. I don't need any complete solutions or someone to make my homework for me, but I just need someone to point out to me where...
View Articlepaint method and graphics
i am create animation in japplet and i want to know if iam using paint method and draphics2d the right way. public void paint(Graphics g) { super.paint(g); Graphics2D g2d = (Graphics2D) g;...
View Articledynamicaly allocate an array of integers and calculate the mode
This is the Question? In statistics, the mode of a set of values is the value that occurs most often or with the greatest frequency. Write a function that accepts two arguments: • An array of integers...
View ArticleNo GET variables, thanks to Apache
Hello, D.I.C. I don't know if this is in the correct forum, but I should assume so since my primary language is in PHP. I'm using mod_rewrite to make my URL's look a little more prettier than what they...
View Articlebattle ship game using 2d array in java
NEED HELP! DONT KNOW HOW TO PLACE FIVE SHIPS IN A 2D ARRAY THAT IS (10BY10). THEN HAVE THE USER GUESS THE LOCATIONS OF EACH SHIP. EACH CORRECT GUESS IS A HIT AND WHEN THE SHIP IS COMPLETELY HIT IT IS...
View Articlepayroll modification question on gui?
my assignment is to create a gui with the following code; I have a txt box for: first name, last name, weekly salary, commission rate and gross sales. (I will eventually have to add hourly, but i want...
View ArticleBasics of Page Replacement
I posted this in the C++ forum initially by accident and didn't realize it until just now. I'm fairly certain I understand how page replacement works (and I did very well on all of this class' exams)....
View ArticleFor Each Loop with a ListBox - Only finding last city
So I'm going through my readings for my next upcoming homework and I decided to try out the example given in the book, which I usually just read and understand (if not I go back to it). Public Class...
View Articleopening up a file defined within runtime
This is for a betting predictor I am making purely for a challenge. As I have all the data I need from previous real matches in csv files I need to specify which file it is within runtime. For...
View ArticleComparing vector elements
I am trying to compare vector element with a object element. i comparing an object with a vector element. i am using the get method which uses an iterator .For some reason it doesn't work, please help....
View ArticleError Handling problem in if-else statement
When I input the username and password for user1, the first if-statement captures it however the error handling (else{}) still outputs even though it's already captured by the first if-statement....
View ArticleI'm unable to access a member from an object properly
I'm trying to code a 2d game using the ACM library with which I've been learning Java. The here are four classes: 1. GameBoard.java [creates a Game-Board template object, which I intend to use for...
View ArticleForked Project question
Hello everyone, Today I decided to learn a bit about using github and I finally got to fork and clone a project to my local space. Now I forked the following project, MrHus/Zelda This is a game and...
View ArticleMethod Confusion
Hello, I am having trouble understanding what I am supposed to add in a method I have named addCoin(). I have 3 classes, Coin, Purse, and PurseTester. For the method addCoin() in the purse class the...
View ArticleAssembly code problem
I'm writing assembly code and I'm a bit out of my element. I'm having some difficulty getting this code to print the Uppercase characters to lowercase. Any suggestions? Here's what I have so far. Can...
View ArticleHow do I give int value to these line?
I just want a little advice on the following, I cant think of any way though I thought of another loop I take input from a file, the file look like this: 1 - 4 Aqaba 1 - 2 Aqaba#Gulf of 1 Jordan 2...
View Article[ODBC Driver Manager] Data source name not found and no default driver
This project solution file is working on other computers, but when I test it on my computer I've got an error. I've already done exactly what they've done to run it such as installing mysql connectors,...
View Articlehow to calculate the similarity of two users in facebook?
I am working on a project about data mining. my company has given me 6 million dummy customer info of facebook. I was assigned to find out the similarity between any two users. can anyone could give me...
View Article