Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
Ranked #2K
~3K People Reached
Favorite Tags
Member Avatar for wendellrob

Can anyone tell me why I get the following error message when I execute this code: `Exception in thread "main" java.lang.NoSuchMethodError: main` public class Pay { private double hoursWorked = 40; private double rateofPayPerHour = 10; private double withholdingRate = .15; private double grossPay; private double netPay; public void main(String[] …

Member Avatar for mitch9654
0
215
Member Avatar for gaya88

hi I have a problem regarding calling print() method through main().It asks to pass arguments but i already done so using constructors.Any help in missing statement. [code] public class ElectricityBill { public static void main(String args[]){ current c1=new current(500,"January"); current c2=new current(1600,"February"); c1.print(double total,String month);/[COLOR="Green"]/this is the place i wanna …

Member Avatar for PopeJareth
0
162
Member Avatar for PopeJareth

Can Someone tell me why these files won't compile on unix but work fine (mostly) in windows? It looks like unix-land doesn't load the variables from the inherited class QueueArray into the proper scope. prog5.cpp is supposed to create 3 different types of Deque classes. each Deque inherits from ArrayQueue …

Member Avatar for PopeJareth
0
246
Member Avatar for leverin4

I tried searching and couldn't find anything, so I'm sorry if this has been posted before. I need help aligning output at the command line. I want to make even columns, but can't figure out how to do it. Attached is a screenshot of my current output. I want the …

Member Avatar for PopeJareth
0
128
Member Avatar for PopeJareth

Is it possible to compile a single .cpp (not a project) in visual studio 2008? Also will using visual studio cause problems executing code on a unix system? I am making my first c++ "hello world" program and I am attempting to use visual studios. Am I going to have …

Member Avatar for William Hemsworth
0
199
Member Avatar for latinajoyce

i need to add this criteria to my program: "if the user enters a last name in small letters the program should display the surname with the first character in capitals" Can some1 please help me with some examples for this?? i really need it.. thank you guys :)

Member Avatar for JamesCherrill
0
188
Member Avatar for Laidler

Ok in my program i'm trying to prevent a user from adding too many objects. i have three arrays called subs airs and dests, the user shouldn't be able to have more than a total of 10 objects between them. in order to add an object to an array the …

Member Avatar for Laidler
0
137
Member Avatar for PopeJareth

I am trying to find a way to add a something similar to a blog on my site. What I would like is to be able to post updates, include pictures if desired, and have the content dynamically added to an existing page. I would like to see something where …

Member Avatar for PopeJareth
0
49
Member Avatar for bigginge

A customer whose site I maintain rang this morning saying his website traffic had suddenly increased to getting about 20 times as many hits as usual in the last few days, and asked if this was something to worry about. I'm not very knowledgeable about this side of things but …

Member Avatar for MidiMagic
0
195
Member Avatar for K?!

Hi all I'm used to programming in Java, which does support method overloading. So when starting to use PHP, I quickly found that this was not supported in PHP. But why and how is this supported with "system methods" (I don't know if that name is correct) like, for example, …

Member Avatar for K?!
0
120
Member Avatar for IQLion

class t{ Somebody please help me with one very simple program in java. I'm new to java, so I can't understand what all this errors about. Please help me fix this program. It gives three errors: illegal start of type swith (s) orphaned case case 'Y': <identifier> expected switch (s); …

Member Avatar for PopeJareth
0
169
Member Avatar for greenglow

We're working on finishing this website on our staging server. [URL="http://alias-dev.com/bidwelladvisors/"]http://alias-dev.com/bidwelladvisors/[/URL] We're using Moo Tools BySlide accordion menu [URL="http://www.byscripts.info/scripts/javascript-dynamic-accordion-menu"]http://www.byscripts.info/scripts/javascript-dynamic-accordion-menu[/URL] On initial page load the slider comes in slowly and one sees theb different elements separated in a column. Afterwords it is fine. Anyone have any advice on how to make …

Member Avatar for greenglow
0
96
Member Avatar for masterjiraya

I posted a code on this link [URL="http://www.daniweb.com/forums/post915333.html#post915333"]http://www.daniweb.com/forums/post915333.html#post915333[/URL] and the thread was solved, but I'm looking forward for another method using switch case.... but an error says : incompatible types found: java.lang.String required: int is the re a possible way that forces switch case method to use string instead of …

Member Avatar for masijade
0
121
Member Avatar for CTUBren

I'm sure this is going to be really easy to figure out and might even be something like trying to use correct grammar (this has happened to me a few times), but I've stared at this code for hours upon hours and don't know why NetBeans says it's wrong. There …

Member Avatar for PopeJareth
0
85
Member Avatar for PopeJareth

I am working on a page that has 3 columns of text. I am trying to center the text in each column while maintaining the left justification for the text. When I try to use [icode] margin-left:auto; margin-right:auto;[/icode] the spacing for the columns is destroyed. I have also tried putting …

Member Avatar for ingeva
0
155
Member Avatar for JohnPhilipps

Good morning, I would like to ask for your help, I am working on getting a text file read using using a java applet, the content of that text file is generated with an object in the class TowersOfHanoiExecute TowersOfHanoi towersOfHanoi = new TowersOfHanoi( totalDisks ); after which I was …

Member Avatar for JohnPhilipps
0
739
Member Avatar for whiteyoh

Hi All, im trying to get an example to work on a main class passing variables to a class to then return the value. This is the method for variables to be passed too [code] import java.lang.Math; class CalcTest { private int area; public int getArea(int height, int width) { …

Member Avatar for PopeJareth
0
97
Member Avatar for weblover

hi all ..i have a problem with my project and need your help plz ... i have this code [code] int [] exp = {32,1,2,3,4,5,4,5,6,7,8,9,8,9,10,11,12,13,12,13,14,15,16,17,16,17,18,19,20,21,20,21,22,23, 24,25,24,25,26,27,28,29,28,29,30,31,32,1}; int [] expword = new int [exp.length]; String s=toenc.getText(); if(s.length() < 32) JOptionPane.showMessageDialog(null,"Word must be 32"); else{ int[] e = new int[s.length()]; for (int …

Member Avatar for weblover
0
94
Member Avatar for gotm

So I have this function that is supposed to output an object (save an object) to a .txt file. It doesn't output anything when the program comes to the point where it runs this function. I am 99% sure this is where the program hangs. [code=java] public void saveSurvey(String txtFile) …

Member Avatar for BestJewSinceJC
0
186