operator * is undefined for the argument type(s) Scanner, double
I am trying to learn how to program in Java but I seem to be missing a detail here. I am trying to multiply two doubles to get a third double. I am not sure what the error means or how to correct it....
View ArticleXml formatting not keeping original structure when appending
I am working with a xml file. I have appended to an existing sample file, but the formatting is off and some of the xml elements are missing. What I am working toward is appending to it 10 times just...
View Articlebase b expansion of n algorithm
im reading about base b expansion of n algorithm and this book is really hard to read and understand, i am not sure what the bottom part means... http://tinypic.com/view.php?pic=111m7bn&s=6 what...
View Articleproblem reading colors from a bufferedimage
I was working on a simple image editing program, when i came across a problem with the bufferedimage. What i am trying to do is simple, get the red, green, blue and alpha values from the image; however...
View ArticleArea Selection of a gird
working with some grid with 4 , 8 or 16 rows and up to 4000 columns like a timeline. first time messing with WPF. i have most of what i am looking to do doing what it needs to do. getting down to some...
View ArticleArea Selection of a gird
working with some grid with 4 , 8 or 16 rows and up to 4000 columns like a timeline. first time messing with WPF. i have most of what i am looking to do doing what it needs to do. getting down to some...
View ArticleArea Selection of a gird
working with some grid with 4 , 8 or 16 rows and up to 4000 columns like a timeline. first time messing with WPF. i have most of what i am looking to do doing what it needs to do. getting down to some...
View ArticleGuessGame.java program problem
Ok I am currently working on the last bit of my program and it needs to include the lastDistance and currentDistance forumla to tell the user whether their current guess is closer or further from the...
View ArticleC++ Tutorial Request for Antivirus/CCleaner related programs
I apologize if this is the wrong section or if requesting tutorials are not allowed. Anyways, I am wondering if there are any noob-friendly tutorial in creating an Antivirus or a Computer Cleaner such...
View Article__get() and what context it is invoked in
Is there any way to determine what context a __get() is invoked in? I'm thinking in terms of templating engines, specifically a javascript template and displaying boolean values as strings. Take the...
View Articleaccess data outside a function
I was wondering what the best way was to access data outside the function it was created in. I have the user input a data in a custom namespace function, and now im trying to access all those data...
View Articlejava program converting an array of fahrenheit temps to celsius
hello, i'm try to write a program to convert an array of Fahrenheit temperatures to Celsius. I have the fahrenheit temps but i don't know how to convert them to celsius. I have to create a method to...
View ArticleAddressbook problem that I can't seem to locate (constructors)
OK, I am doing a lab for school, and it looks like, (at least to me), that I have what I need. I have an addressbook program that is supposed to use a class, and constructors. the requirements are:...
View ArticleProblem Creating New Objects
Okay, I have come across an issue that has completely bewildered me, I know the title is generic but I am going to do my best to explain it and helpfully one of you more intelligent chaps can steer me...
View Articlehelp writing an algorithm for this.
hello can someone help me write an program for this. I am really confused on where to even start. I would really if someone can help me with it, I will be implementing an algorithm for Russian Peasant...
View ArticleNeed to fix an error i cant
Hi, when i try and debug this it says my itemNumber and itemWeight are unassigned local variables. I clearly have it listed up there. How have i dont this wrong? It is around line 70 using System;...
View ArticleCan you Find my syntax error expecting ',' or ';' plea
This is driving me crazy trying to figure out what I am doing wrong with this form I am guessing something is not closing correctly but i have no clue what I have submitted my code below if anyone can...
View ArticleLapack FFT - sine transformation - zeros on the beginning and end
Hi, I have a small question about FFT in Lapack or elsewhere, this is not related to Lapack/MKL really. I have a array of data I wish to transform. But I can't use exponential FFT, I need to use the...
View ArticleWhy does the program ends prematurely
#include <iostream> #include <iomanip> // manipulate display sigs #include <cmath> // math functions #include <string> #include <windows.h> // Enables delay in proggy...
View ArticleSearching in Linked List
I'm writing a program that lets you add, delete, and search for people in an address book. I have to implement my own linked list instead of using the class in the java.util package. I am having A LOT...
View Article