From: Konstanty Newsgroups: comp.os.msdos.djgpp Subject: Problems with Arrays Date: Fri, 15 Jan 1999 11:13:33 +1000 Organization: University of Queensland Lines: 16 Message-ID: <369E963C.ED7FB1DC@mailbox.uq.edu.au> NNTP-Posting-Host: csmbialk.staff.uq.edu.au Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.5 [en] (Win95; I) X-Accept-Language: en,pl To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com In a program of mine I have two arrays initilised with "new". eg int *Map; Map=new int [225]; The problem is that when I write to one array it corrupts the other with the same data. Is this because they were not initilised properly? If so how can you check if an array is initilised properly? Thanks in advance Konstanty.