Welcome to Dream.In.Code
Getting Help is Easy!

Join 136,796 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 2,323 people online right now. Registration is fast and FREE... Join Now!




Need help in vector

 
Reply to this topicStart new topic

Need help in vector

musizian
12 Aug, 2008 - 01:31 AM
Post #1

New D.I.C Head
*

Joined: 1 Aug, 2008
Posts: 22

hii,

how to make a vector's class be accessible by another classes.
cause i got a problem dat my vector cant be accessed by any other classes but only the one class itself. Meaning..
let's say i have 3 different classes named them class A(main method), B and C, and 1 class Vector.

So if I store a record of class B inside the vector in class Vector, other class like class A and C cant access it. Meaning if i try to call the data by using getMethod, i won't get anything back, in other word, vector is empty! but simultaneously i could call the data within the class B itself.

And even if I dispose the window of class B with the application still in the run, and open the window of class B again, all the records that had been stored previously are gone.
Why such things could happen and how to overcome this?

Thx for helping~



I AM SORRY I HAVE POSTED THIS ON WRONG SECTION

This post has been edited by musizian: 12 Aug, 2008 - 01:39 AM
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 12/3/08 01:45PM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month