Hi guys, I have problem with a Vector. I get 26 records from a DB and enter them into a Vector. I've checked the ResultSet values and they are OK. I start printing values (from the first object) when the ResultSet reaches 3 (�First Print Name (Code)�). The values printed are from the current object (from row 3 up) not from the position 0 and up to 23. When I try to print the values second time (�Second Print Name(Code)�) only one (the last record�s) values are printed 26 times (Vector�s size). It looks like every time a new object(Course) is entered into the Vector it replaces all other objects in it.
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
I'm sorry, too, Dmitri... I'm very sorry... *All right*, you're sorrier than I am, but I am as sorry as well... I am as sorry as you are, Dmitri! Don't say that you're more sorry than I am, because I'm capable of being just as sorry as you are... So we're both sorry, all right?
Ping & DNS - updated with new look and Ping home screen widget
Joined: Aug 16, 2007
Thanks Ilja and Ulf.
Joined: Oct 13, 2005
Excellent film, Dr Stangelove, but please, no more about Dmitri or I shall send us all off to Meaningless Drivel.
Joined: May 27, 2008
Hi guys, I'm glad that my 'controversial' username is causing the debate.
By the way, don't go to the Meaningless Drivel (what's that?) yet. I have more problems. Check this post
Kind Regards, Bill
Joined: Oct 13, 2005
Originally posted by bill dimitry: Hi guys, I'm glad that my 'controversial' username is causing the debate. Meaningless Drivel (what's that?).
I think people were overreacting about the name [ ], and as for what's Meaningless Drivel:
You don't want to know!!
It's actually where people have friendly chats about anything non-computer related.