Article View: comp.std.c
Article #3375Re: initialising arrays
From: Hans Steffani
Date: Thu, 24 Aug 1995 16:25
Date: Thu, 24 Aug 1995 16:25
22 lines
1208 bytes
1208 bytes
Gary Barter <gbarter@tsdesign.zynet.co.uk> writes: >I'm using Borland C++ 4.02 and I am looking for a way to make the >compiler leave an array uninitialised. At present it sets all global >arrays to zero. This is a problem as I'm using arrays of 2-4 Mbs in size >which have to be initialized with data when the program is run. >Is there a way to turn off this auto - initialisation ?? I do not understand your problem. If you initalise your array why do you bother about whether there are 0s or garbage in that array? However, this question is better suited to comp.lang.c where I crosspost it. F'up is set too. Hans Friedrich Steffani -- Hans Friedrich Steffani Institut fuer Elektrische Maschinen und Antriebe TU Chemnitz-Zwickau e-mail: hans.steffani@e-technik.tu-chemnitz.de
Technical Details
Message-ID:
<41i9aj$b4q@pyrrhus-f.hrz.tu-chemnitz.de>Path:
arc1-ca.pugleaf.net!news.tu-chemnitz.de!newsReferences:
<41ccf2$536@sol.zynet.net>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!news.tu-chemnitz.de!news From: hfst@hrz.tu-chemnitz.de (Hans Steffani) Newsgroups: comp.std.c,comp.lang.c Subject: Re: initialising arrays Followup-To: comp.lang.c Date: 24 Aug 95 16:25:13 GMT Organization: University of Technology Chemnitz, FRG Message-ID: <41i9aj$b4q@pyrrhus-f.hrz.tu-chemnitz.de> References: <41ccf2$536@sol.zynet.net> NNTP-Posting-Host: mmu.hrz.tu-chemnitz.de