thanks everyone! think i understand now
Type: Posts; User: inquisitive
thanks everyone! think i understand now
i think u misunderstood me..i could read data from the file into the class..
for eg. the file would look like this
20 60
10 50
0 80
so 20 n 60 will go into the first member of the array of...
i have a problem with allocating memory to an array of class cage, and i need to do this cos i dont know the contents of the file beforehand then reading it into an array of class cage. i don't think...