Search Results

Showing results 1 to 40 of 52
Search took 0.02 seconds.
Search: Posts Made By: tux4life ; Forum: Java and child forums
Forum: Java Oct 21st, 2009
Replies: 10
Views: 763
Posted By tux4life
So actually you want your program to take a number as input, and you want a way to get back a given digit n in the number?
For example you have the number 56231012, and you want a way to get a...
Forum: Java Oct 10th, 2009
Replies: 4
Views: 174
Posted By tux4life
Show your try, then we can see what you did wrong.
Forum: Java Oct 10th, 2009
Replies: 3
Views: 190
Posted By tux4life
Come on, this is already about the third time you post this question, you better spend your time in figuring out a solution to your problem, double posting is not going to help you.

Double posts:...
Forum: Java Oct 10th, 2009
Replies: 2
Views: 183
Posted By tux4life
For all those who want quick help (http://www.daniweb.com/forums/announcement8-2.html).
Forum: Java Sep 25th, 2009
Replies: 5
Views: 803
Posted By tux4life
After 25 posts it's certainly time to become familiar with something which is utterly important on this forum.
Most people call it "code tags (http://www.daniweb.com/forums/announcement9-3.html)".
...
Forum: Java Sep 23rd, 2009
Replies: 5
Views: 803
Posted By tux4life
>any idea?
I actually don't quite get the question of your assignment.
Also I see no code I can help you with.

But I know some interesting code which can help you to get help, here on this...
Forum: Java Sep 16th, 2009
Replies: 5
Views: 671
Posted By tux4life
I also own a copy of that book and I have to say one thing: It's a great book!
Forum: Java Sep 15th, 2009
Replies: 5
Views: 671
Posted By tux4life
Seems like I have a lot more luck than you:
http://www.janiry.com/bruce-eckel/

(the Java e-book is for and older Java version, 1.4 I believe, but is still useful)
Have success reading them :P
Forum: Java Sep 5th, 2009
Replies: 2
Views: 264
Posted By tux4life
Please have a nice read (http://www.catb.org/~esr/faqs/smart-questions.html).
Forum: Java Aug 29th, 2009
Replies: 7
Views: 409
Posted By tux4life
I wouldn't complain when developing in Java takes longer, as long as I get paid per hour :P
Forum: Java Jul 30th, 2009
Replies: 3
Views: 327
Posted By tux4life
Just an easy example:

String[] digits = {"", "one", "two", "three", "four", "five", "six",
"seven", "eight", "nine"};
int number = 5;
System.out.println( digits[number] );
...
Forum: Java Jul 30th, 2009
Replies: 3
Views: 327
Posted By tux4life
You would better make use of arrays to avoid such huge switches.
Forum: Java Jul 29th, 2009
Replies: 4
Views: 219
Posted By tux4life
Do you imply that I have to write the program?
There's one obstacle in your way:
We only give homework help to those who show effort! (http://www.daniweb.com/forums/announcement8-2.html)
So please...
Forum: Java Jul 29th, 2009
Replies: 4
Views: 219
Posted By tux4life
Well, you just posted your assignment.
Is there any code you wrote to follow?
What do you have now?
Forum: Java Jul 28th, 2009
Replies: 4
Views: 259
Posted By tux4life
http://catb.org/~esr/faqs/smart-questions.html#urgent
Forum: Java Jul 26th, 2009
Replies: 4
Views: 1,187
Posted By tux4life
>Has someone encountered this problem before?
>Would someone make a suggestion regarding how solve this problem?
Uhm...You could maybe let your program throw an error when it wasn't able to get...
Forum: Java Jul 22nd, 2009
Replies: 3
Views: 216
Posted By tux4life
To the OP:
It would be better that you chose a better thread title in future, a title like "need help.." is useless, because pretty much everyone which opens a thread here needs help.
Try to be...
Forum: Java Jul 21st, 2009
Replies: 4
Views: 299
Posted By tux4life
I think you've misunderstand him: no one will do it for you.

What you could do is post the criteria down in this thread, together with your own try, then we can check whether you did it correctly,...
Forum: Java Jul 21st, 2009
Replies: 3
Views: 424
Posted By tux4life
Congratulations! You've just decreased your chances of being helped by the people here.
You can find your double thread here (http://www.daniweb.com/forums/thread205529.html) (in case you don't know...
Forum: Java Jul 20th, 2009
Replies: 10
Views: 657
Posted By tux4life
Wrong!

You are just spoon-feeding the OP, is that what you want?
I can say you: it's against Daniweb's homework policy (http://www.daniweb.com/forums/announcement8-2.html).
Ever heard of this? I...
Forum: Java Jul 20th, 2009
Replies: 11
Views: 516
Posted By tux4life
Currently I'm jumping into Java (I have a C++ background), and I took Head First Java to get my first Java experience, I haven't finished it yet, but up until now it's a great book.
You might say:...
Forum: Java Jul 19th, 2009
Replies: 7
Views: 379
Posted By tux4life
To the OP:
Well, as you have previous knowledge of C++, then you'll have no problems in understanding and applying these before start writing any other program:...
Forum: Java Jul 11th, 2009
Replies: 8
Views: 430
Posted By tux4life
Well, apparently I was wrong, but it will work for numbers which consist out of three digits :)
Forum: Java Jul 11th, 2009
Replies: 8
Views: 430
Posted By tux4life
Well, I guess it works for every number.
But feel free to tell me that I'm wrong
(If you find a number where this algorithm won't operate correctly on).

Edit:: No, it doesn't work for every...
Forum: Java Jul 11th, 2009
Replies: 8
Views: 430
Posted By tux4life
Well, I know an algorithm:

The first step is concatenating the number one time after itself.
This will give us the opportunity to easily find the first part of the possibilities.
The second step...
Forum: Java Jul 11th, 2009
Replies: 5
Views: 301
Posted By tux4life
Please don't write whole posts in code tags, instead use code tags only whenever you need to post a snippet of code.

>it was silly on my part i guess
No, it's certainly not silly to ask for help,...
Forum: Java Jul 2nd, 2009
Replies: 5
Views: 211
Posted By tux4life
Look: http://www.daniweb.com/forums/post906316.html
Edit:: This double-thread is deleted by an Admin.
Forum: Java Jun 24th, 2009
Replies: 1
Views: 217
Posted By tux4life
Smart trick, using two different accounts to post the same question across multiple forums on Daniweb:
http://www.daniweb.com/forums/thread199505.html...
Forum: Java Jun 6th, 2009
Replies: 6
Views: 670
Posted By tux4life
All modern browsers (= all today's browsers) have something like a password manager which will safely guard that information for you and fill it in automatically for you when you visit that...
Forum: Java Jun 5th, 2009
Replies: 6
Views: 670
Posted By tux4life
And why would you ever want to do this?
Forum: Java May 31st, 2009
Replies: 18
Solved: Help! Please!
Views: 607
Posted By tux4life
If it doesn't compile, you should also paste the whole error message your compiler is giving in this thread, by the way, it isn't thux4life, it's tux4life (correct and it will save you 1 keystroke as...
Forum: Java May 31st, 2009
Replies: 18
Solved: Help! Please!
Views: 607
Posted By tux4life
>Is it ok and help with the errors?
Does it compile? Then it's syntactically correct.
Does it run and give the expected output? Then you're pretty sure that you haven't made a mistake :)
Forum: Java May 31st, 2009
Replies: 18
Solved: Help! Please!
Views: 607
Posted By tux4life
There's nothing wrong with being a beginner, and by the way: questions aren't stupid, as long as you learn something of it :)
Forum: Java May 30th, 2009
Replies: 18
Solved: Help! Please!
Views: 607
Posted By tux4life
>Can someone help me to make a program in java
Yes we can help you, please post the code you have so far (read this (http://www.daniweb.com/forums/announcement8-3.html)) and tell us where exactly...
Forum: Java May 30th, 2009
Replies: 5
Views: 784
Posted By tux4life
What about using string patterns (http://java.sun.com/j2se/1.4.2/docs/api/java/util/regex/Pattern.html) ?
Forum: Java May 30th, 2009
Replies: 5
Views: 784
Posted By tux4life
Do you mean a quadratic equation like this: ax^2 + bx + c ?

By the way: May the terms be placed in another order?

Edit:: Sorry: I see that it's not what I thought, it's a conics equation (:P)...
Forum: Java May 25th, 2009
Replies: 6
Views: 850
Posted By tux4life
Take a look at the following:

Forum announcement (http://www.daniweb.com/forums/announcement9-3.html)
Read this before posting (http://www.daniweb.com/forums/thread78223.html)


>Push it and...
Forum: Java May 21st, 2009
Replies: 1
Views: 159
Posted By tux4life
Hi, mate, this forum isn't made for 'testing' how your image is displayed :angry: !!
By the way, you even don't have a question and this thread isn't Java related !
Forum: Java May 20th, 2009
Replies: 2
Views: 200
Posted By tux4life
If you program in assembler, knowledge of a high-level/middle-level programming language is already assumed before you even start learning assembly, and you don't know how a simple loop works in...
Forum: Java May 1st, 2009
Replies: 2
Views: 2,788
Posted By tux4life
Well, I forgot to mention you should click Full specs :)
Showing results 1 to 40 of 52

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC