|
From: Raghunath Marella.S <ms...@ya...> - 2002-06-09 09:42:00
|
Hi, I have been facing a simple but strange problem in my C++ code. I have declared an integer pointer and whose size has been fixed at a large value dynamically. Like... seneles = 1000,ncn = 6; int *EleTopo = new int[seneles*ncn]; Once this block is filled with valid data, once those values are printed and observed they seem to be correct. But in between of the code, retrieving the same had returned some junk values for some of the indexes. I am not getting what could be the problem. Will any one please help me out in this. thanks in advance, regards, Raghunath __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com |