Posts
 
Reputation
Joined
Last Seen
Ranked #1K
Strength to Increase Rep
+5
Strength to Decrease Rep
-1
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
~16.1K People Reached
About Me

Another student, another beginner.

Favorite Tags
Member Avatar for freelancelote

Hi, just wondering... is there a site offering some sort of c++ programming mentoring? Something like: make this programme... how would you do it? and then people writing code for it. Would that be a feature for DANIWEB?

Member Avatar for Lynqu2
0
145
Member Avatar for wendellrob

wendellrob, if you make all your variables and the computeNetPay() method static you'll be able to access them from main() (that should be also static). Since your variables are static you don't have to create an instance of your class (Pay). If you don't want to declare your variables and …

Member Avatar for mitch9654
0
219
Member Avatar for freelancelote

Hi, I'm starting playing with javascript and bounce to some problems. The script tries to read the <p> background color that is set using stylesheet and set a global variable with this value for later use. It seems that the variable does not instantiate (and btw. there is more than …

0
61
Member Avatar for ayaz.ali
Member Avatar for freelancelote

I'd appreciate if somebody could have a look at this code and tell me where the problem is. The program is meant to take a .txt file and split it in three different files: one with words of 1 to 4 letters, one with words of 5 to 7 and …

Member Avatar for Agni
0
2K
Member Avatar for joannies

Have a good sleep and then have a look in the [URL="http://java.sun.com/docs/books/tutorial/java/nutsandbolts/index.html"]trails[/URL]

Member Avatar for freelancelote
0
147
Member Avatar for Raik.48

Raik.48, welcome to the forum. Please next time use code tags when you post code. When you make a call to calcArea() method the area is calculated as it says in the method. When you call println() method you print the location on memory of object a. This is all …

Member Avatar for Raik.48
0
142
Member Avatar for axelle.eichner

axelle, if your problem is how to use NetBeans IDE take a look at the [URL="http://www.netbeans.org/kb/index.html"]tutorials[/URL]. Gook luck,

Member Avatar for javed123
0
145
Member Avatar for newjavastudent

newjavastudent, as it's coded, you just have to break your while loop with ctrl+c while the program is running and once you've finished writing whatever you'd like on the new generated file.

Member Avatar for freelancelote
0
80
Member Avatar for freelancelote

Hi, I'm trying to print a string on the center of a window using GridBagLayout. All I see printed is a part of the string I expect (the current month) instead of the whole string. I don't seem to be able to spot where the error is and I'd appreciate …

Member Avatar for freelancelote
0
207
Member Avatar for valleymorning
Member Avatar for valleymorning
0
470
Member Avatar for akulkarni

akulkarni, in loop on line 30 to 36: Think what happens when i == 3... you need to reset j to 0. That way you check letters before variable i. try [CODE=java] for(int j=i+1;j>3;j++) { if (j>3) j = 0; if(str.charAt(i)==str2.charAt(j)) count2=count2+1; }[/CODE] please, mark it solved if you think …

Member Avatar for akulkarni
0
1K
Member Avatar for tejasthacker
Member Avatar for latinajoyce

latinajoyce, just a small addition. In your problem description you tell us you need to choose numbers between 1 and 10. However your code chooses numbers between 0 (included) and 10 (excluded). I don't know what you really need but, if you need numbers between 1 and 10 (both included) …

Member Avatar for javaAddict
0
112
Member Avatar for freelancelote

Hi, I'm starting working with the Graphics and related and strugling to understand it. I'm trying to do something as simple as drawing a String on a panel. The string changes on runtime. I post the code below. In effect, every new number is drawn on top of the old …

Member Avatar for freelancelote
0
207
Member Avatar for Lokth

Lokth, can't you put an if statement saying if input equals h then give hint? Something like, [CODE=java] String inputString = String.valueOf(input); if (inputString == "h") { // give hint function } [/CODE] I know it's pretty general but you'll have to give us your code for more specifics. ______________ …

Member Avatar for freelancelote
0
249
Member Avatar for hkbk_mukeshnegi

[URL="http://www.google.com/search?q=how+spam+filter+works&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-GB:official&client=firefox-a"]google search[/URL] [URL="http://computer.howstuffworks.com/spam.htm"]http://computer.howstuffworks.com/spam.htm[/URL] Have a good read and mark the thread as solved if you think it is.

Member Avatar for freelancelote
0
30
Member Avatar for freelancelote

Hi, I'm trying to understand how the Calendar, GregorianCalendar and Locale classes work. Say I instantiate two Locale objects and then two Calendar objects, each with their respective Locale. Then ask for the always troublesome DAY_OF_WEEK on every Calendar object as in the following code: [CODE=java] import java.util.Calendar; import java.util.Calendar.*; …

Member Avatar for freelancelote
0
93
Member Avatar for coud_ren_26
Member Avatar for BestJewSinceJC
0
94
Member Avatar for sam_inquisitive

@sam_inquisitive, chill out man! Nobody told you were going to ask for implementation, it's just that we've all seen in here what Salem said. Surely Salem didn't mean it personaly. Anyhow, Salem's got a point. It's OK to discuss since, like as you point out, this is a discussion community. …

Member Avatar for mytime19
0
157
Member Avatar for nccsbim071

Yeah, I'd like to know too. Also, if the problem is solved, could you please mark it as solved? Thanks

Member Avatar for nccsbim071
0
176
Member Avatar for satishdvns

[URL="http://support.sas.com/certify/"]http://support.sas.com/certify/[/URL]

Member Avatar for freelancelote
0
58
Member Avatar for coolbuddy059

you might find these links useful: [URL="http://sourceforge.net/projects/jcom"]http://sourceforge.net/projects/jcom[/URL] [URL="http://sourceforge.net/projects/jacob-project"]http://sourceforge.net/projects/jacob-project[/URL]

Member Avatar for JamesCherrill
0
98
Member Avatar for freelancelote

Hi, I'm having trouble with the following simple test program to extract 10 random numbers from 0 to 5. [CODE=java] import java.util.*; public class TestRandom { public static void main(String[] args) { Random rand = new Random(); for (int i = 0; i < 10; i++) { int j = …

Member Avatar for freelancelote
0
6K
Member Avatar for shakeelahmed22
Member Avatar for freelancelote

Hi, I'm starting with Java and have an issue with how to use the classpath variable and where to put certain library. This is probably pretty easy but it's got to the point of driving me crazy. Now, I'd like to have my library, let's call it "mylib", under C: …

Member Avatar for JamesCherrill
0
193
Member Avatar for freelancelote

Hi, I'm trying to set a simple send an email script as I found it on the internet. Here is the code: [CODE=php]<html> <head> <title>PHP Mail Array Loop</title> </head> <body> <?php $to = "mymail@anydomain.com"; $subject = "Test mail"; $message = "Hello! This is a simple email message."; $from = "anybody@somedomain.com"; …

Member Avatar for nav33n
0
234
Member Avatar for freelancelote

This's got probably an easy answer but it's been puzzling me a few hours already. The code below declares a string object and fills it character by character. I can print every single character (line 16) but I can't print the string as a whole (line 19). Could anybody tell …

Member Avatar for Narue
0
146
Member Avatar for freelancelote

Hi, I'm trying to have a function that takes an ifstream object and returns an int as in [ICODE]int wCount(ifstream myFile);[/ICODE] Is that possible? The compiler gives me loads of errors that I simply don't understand. Thanks,

Member Avatar for Freaky_Chris
0
214
Member Avatar for freelancelote

Hi all, let's say I have a string object. I can cout the string literal by just stating the name of the object or I can use the data function. [CODE=cpp] string myStringObj = "Hello World!"; cout << myStringObj; cout << myStringObj.data();[/CODE] So, why do we have a function like …

Member Avatar for Narue
0
101