Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Showing results 1 to 5 of 5
Search took 0.00 seconds.
Search: Posts Made By: truBlu1
Forum: Java Sep 29th, 2007, 2:09 PM
Replies: 9
Views: 351
Posted By truBlu1
I see. Anything included in println() and used...

I see. Anything included in println() and used with the + operator is made into a string automatically. I didn't realize that. I thought only what was enclosed in " " was a string.
Forum: Java Sep 29th, 2007, 12:40 PM
Replies: 9
Views: 351
Posted By truBlu1
Thanks DaWei. I found it immediately when I...

Thanks DaWei. I found it immediately when I started going through by hand. I was trying to access numbers[n-i] instead of numbers[(n-1)-i).

I have another question. Look at this segment of code. ...
Forum: Java Sep 29th, 2007, 3:36 AM
Replies: 9
Views: 351
Posted By truBlu1
code to add numbers in an array

This program should be simple. I think, however, I'm misunderstanding how Java handles arrays. This code compiles fine but when my for loop tries to access the elements I get an out of bounds...
Forum: Java Sep 26th, 2007, 10:08 PM
Replies: 5
Views: 206
Posted By truBlu1
The answer to your question is yes but this...

The answer to your question is yes but this happens to be an assignment. As such I'm prohibited from using the Date class. My goal in making this post was to pick the brains of experienced...
Forum: Java Sep 26th, 2007, 8:43 PM
Replies: 5
Views: 206
Posted By truBlu1
code for displaying tomorrow's date

This is some code I wrote for determining dates. The user enters a date and the following date is displayed. It handles special cases like leap year and such. Everything works as far as I can...
Showing results 1 to 5 of 5

 
Forum Jump



DaniWeb IT Discussion Community
All times are GMT -5. The time now is 4:55 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC