Original Post
ok, i never seen this problem before. i have a vector called coord. its in a class called Board i have anther class called TheGameOfLife and it uses board for the points. when i click on an empty space it gets the right x,y coord and it puts it in the vector coord. after it finishes with the function addPoint in the Board class, the vector goes back to 0x000000000 for all the elements. it stores it then deletes it why?????????? how can i fix that????? please help. thanks.