Jump to content

Check out our Community Blogs


Member Since 17 Jul 2006
Offline Last Active Oct 04 2008 08:57 PM

Posts I've Made

In Topic: Odd and Even Function

25 September 2008 - 08:41 PM

i also don't see why you are doing finallist mod 2, finallist is a TNode. you should be doing finallist->Data mod 2. since data is it's integer counterpart.

In Topic: Odd and Even Function

25 September 2008 - 08:36 PM

you named TNode wrong in oddeven

TN0de *finalist

In Topic: i'm back!

29 August 2008 - 06:35 PM

Computer Science with a minor in Information and Computer Technology

In Topic: Need help with structurin a program...

29 August 2008 - 08:28 AM

if you know beforehand how many times you want something to happen, like in this case, a for loop is fine.
strings are immutable in java, so the efficiency of str += "*" isn't superb, but it gets the job done. you could look into StringBuilder from the java API for another way to build a string that might be a little nicer, but for most cases the += hack will do fine.

you could even build a char array of size n(whereas n is the input, which has to be checked before you use it)

be sure to have this bookmarked and opened when programming java:
Java 2 Platform SE 5.0

In Topic: i'm back!

29 August 2008 - 08:10 AM

I didn't mean to quit. I just focused on school and kind of forgot about it:D
I just graduated from East Carolina and moved to Austin, TX where I'm looking for a job.

Fun city!

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download