Re: [Dev-C++] Simple SIMPLE C++ q...
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Per W. <pw...@ia...> - 2002-10-25 15:33:54
|
Scope. If global or static, the variable dies when the application dies, else it dies whenever it leaves the scope. /Per W On Fri, 25 Oct 2002, Daniel Glenfield wrote: >=20 > If I create a variable, say >=20 > int NumberOfDays =3D 0; >=20 > and I decide that I want to delete the variable from memory, how do I do= =20 > this? I don't think I can use delete[] can I, as it's not a pointer. Must= I=20 > create a pointer then call delete? But then how do I remove the pointer? >=20 > I'm sure I know the answer to this, but I can't remember!!! >=20 >=20 >=20 > _________________________________________________________________ > Broadband?=A0Dial-up? Get reliable MSN Internet Access.=20 > http://resourcecenter.msn.com/access/plans/default.asp >=20 >=20 >=20 > ------------------------------------------------------- > This sf.net email is sponsored by: Influence the future=20 > of Java(TM) technology. Join the Java Community=20 > Process(SM) (JCP(SM)) program now.=20 > http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users >=20 |