dev-cpp-users Mailing List for Dev-C++ (Page 595)
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
You can subscribe to this list here.
| 2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(15) |
Oct
(115) |
Nov
(154) |
Dec
(258) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2001 |
Jan
(377) |
Feb
(260) |
Mar
(249) |
Apr
(188) |
May
(152) |
Jun
(150) |
Jul
(195) |
Aug
(202) |
Sep
(200) |
Oct
(286) |
Nov
(242) |
Dec
(165) |
| 2002 |
Jan
(245) |
Feb
(241) |
Mar
(239) |
Apr
(346) |
May
(406) |
Jun
(369) |
Jul
(418) |
Aug
(357) |
Sep
(362) |
Oct
(597) |
Nov
(455) |
Dec
(344) |
| 2003 |
Jan
(446) |
Feb
(397) |
Mar
(515) |
Apr
(524) |
May
(377) |
Jun
(387) |
Jul
(532) |
Aug
(364) |
Sep
(294) |
Oct
(352) |
Nov
(295) |
Dec
(327) |
| 2004 |
Jan
(416) |
Feb
(318) |
Mar
(324) |
Apr
(249) |
May
(259) |
Jun
(218) |
Jul
(212) |
Aug
(259) |
Sep
(158) |
Oct
(162) |
Nov
(214) |
Dec
(169) |
| 2005 |
Jan
(111) |
Feb
(165) |
Mar
(199) |
Apr
(147) |
May
(131) |
Jun
(163) |
Jul
(235) |
Aug
(136) |
Sep
(84) |
Oct
(88) |
Nov
(113) |
Dec
(100) |
| 2006 |
Jan
(85) |
Feb
(119) |
Mar
(33) |
Apr
(31) |
May
(56) |
Jun
(68) |
Jul
(18) |
Aug
(62) |
Sep
(33) |
Oct
(55) |
Nov
(19) |
Dec
(40) |
| 2007 |
Jan
(22) |
Feb
(49) |
Mar
(34) |
Apr
(51) |
May
(66) |
Jun
(43) |
Jul
(116) |
Aug
(57) |
Sep
(70) |
Oct
(69) |
Nov
(97) |
Dec
(86) |
| 2008 |
Jan
(32) |
Feb
(47) |
Mar
(106) |
Apr
(67) |
May
(28) |
Jun
(39) |
Jul
(31) |
Aug
(25) |
Sep
(18) |
Oct
(25) |
Nov
(5) |
Dec
(21) |
| 2009 |
Jan
(33) |
Feb
(27) |
Mar
(27) |
Apr
(22) |
May
(22) |
Jun
(10) |
Jul
(17) |
Aug
(9) |
Sep
(21) |
Oct
(13) |
Nov
(4) |
Dec
(11) |
| 2010 |
Jan
(10) |
Feb
(8) |
Mar
(4) |
Apr
(1) |
May
|
Jun
(2) |
Jul
|
Aug
(1) |
Sep
(8) |
Oct
(26) |
Nov
(9) |
Dec
(1) |
| 2011 |
Jan
(21) |
Feb
(16) |
Mar
(4) |
Apr
(19) |
May
(26) |
Jun
(9) |
Jul
(6) |
Aug
|
Sep
(4) |
Oct
(3) |
Nov
(2) |
Dec
(1) |
| 2012 |
Jan
(4) |
Feb
(7) |
Mar
(4) |
Apr
|
May
(1) |
Jun
(10) |
Jul
(1) |
Aug
(1) |
Sep
(18) |
Oct
(3) |
Nov
(1) |
Dec
(1) |
| 2013 |
Jan
(4) |
Feb
(2) |
Mar
(15) |
Apr
(6) |
May
(1) |
Jun
(3) |
Jul
(1) |
Aug
(2) |
Sep
(4) |
Oct
|
Nov
(9) |
Dec
|
| 2014 |
Jan
(4) |
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(5) |
Aug
(4) |
Sep
|
Oct
(2) |
Nov
(1) |
Dec
(4) |
| 2015 |
Jan
(2) |
Feb
(3) |
Mar
(1) |
Apr
(2) |
May
(1) |
Jun
(2) |
Jul
|
Aug
(1) |
Sep
(2) |
Oct
(9) |
Nov
(35) |
Dec
(6) |
| 2016 |
Jan
(7) |
Feb
(10) |
Mar
(10) |
Apr
(9) |
May
(13) |
Jun
(9) |
Jul
(1) |
Aug
(3) |
Sep
(3) |
Oct
(1) |
Nov
(1) |
Dec
|
| 2017 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2018 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2019 |
Jan
(1) |
Feb
|
Mar
|
Apr
(2) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2020 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|
From: Ioannis V. <no...@ho...> - 2002-04-28 20:41:07
|
> -----Original Message-----
> From: dev...@li...
> [mailto:dev...@li...] On Behalf
> Of h.r...@gm...
> Sent: Sunday, April 28, 2002 11:35 PM
> To: dev...@li...
> Subject: [Dev-C++] error messages
>
>
> Hi List,
>
> what is the meaning of the following error message:
>
> 19 showres.cpp
> request for member `TI' in `arh', which is of non-aggregate
> type `arrhenius
> ()()'
>
> the line in which the error occurs:
>
> void showres()
> {
> extern arrhenius arh();
why ()?
Ioannis
* Ioannis Vranos
* Programming pages: http://www.noicys.cjb.net
* Alternative URL: http://run.to/noicys
|
|
From: <h.r...@gm...> - 2002-04-28 20:34:51
|
Hi List,
what is the meaning of the following error message:
19 showres.cpp
request for member `TI' in `arh', which is of non-aggregate type `arrhenius
()()'
the line in which the error occurs:
void showres()
{
extern arrhenius arh();
cout << "TI = " << arh.TI << endl;
[...]
TI is a public member of arh.
The constructor of arh:
arrhenius::arrhenius(int gr, int smpl)
{
[...]
}
Whats wrong ???
Thanks in advance
Horst
--
Horst Rößner
Postf. 1802
52205 Stolberg
ICQ ID #74808448
h.r...@gm...
h.g...@t-...
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net
|
|
From: tony <su...@wa...> - 2002-04-28 09:06:39
|
|
From: B. P. <nu...@ho...> - 2002-04-27 16:50:29
|
I tried installing Allegro for the Dev compiler, but I keep running into an error. I added 'c:\dev-cpp\bin' to the beginning of my Environment path(I used the default directory to install on my XP machine) and added 'set MINGDIR=c:\dev-cpp' to my autoexec.bat. When I type gcc -v in the command prompt I get a respose that it is reading the stuff. However, after I 'fix.bat mingw32' in the allegro directory and type 'make' it gives me an error saying: "Please specify your MINGW32 directory via MINGDIR= See the docs/build/mingw32.txt file!" _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp. |
|
From: Ioannis V. <no...@ho...> - 2002-04-27 08:54:40
|
It doesn't sound feasible. Presumambly he refers to a network connection from UNIX. Now if UNIX is installed on the same system as NT and can mount the file system so as to be able to write on it and knowing the NT internals (e.g. the algorithm used to encrypt/decrypt) he theoretically can do that. However the files encrypted with the EFS of NTFS using the previous key would not be cracked. So for summary, to change the admin password you must know where to write, what encryption algorithm is used and the access to write. Ioannis * Ioannis Vranos * Programming pages: http://www.noicys.cjb.net * Alternative URL: http://run.to/noicys > -----Original Message----- > From: dev...@li... > [mailto:dev...@li...] On Behalf > Of John Pallas > Sent: Saturday, April 27, 2002 11:35 AM > To: dev...@li... > Subject: [Dev-C++] NT 5.0 Passwords > > > Hey guys, > I was talking with some guy and he had told me that he can > hack into a NT > 5.0 system (and previous versions) using a Unix script that > allows him to > write his own password. Is this possible. Can he access a > password protected > box and rewrite the password to suit him, if so how does he > access the box > in the first place to do it. I don't think it is possible. > Let me know what > you guys think. > > JP > > > > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |
|
From: John P. <jpa...@ya...> - 2002-04-27 08:35:16
|
Hey guys, I was talking with some guy and he had told me that he can hack into a NT 5.0 system (and previous versions) using a Unix script that allows him to write his own password. Is this possible. Can he access a password protected box and rewrite the password to suit him, if so how does he access the box in the first place to do it. I don't think it is possible. Let me know what you guys think. JP |
|
From: Ioannis V. <no...@ho...> - 2002-04-27 04:46:19
|
> -----Original Message----- > From: dev...@li... > [mailto:dev...@li...] On Behalf > Of Ioannis Vranos > Sent: Thursday, April 25, 2002 5:32 PM > To: Dev-C++ > Subject: RE: [Dev-C++] templates > > > > -----Original Message----- > > From: Wal...@va... [mailto:Wal...@va...] > > Sent: Thursday, April 25, 2002 2:53 PM > > To: no...@ho... > > Subject: RE: [Dev-C++] templates > > > > > > > > queueElement is defined in the header file which is included > > in the .cpp > > file. My code compiles with Borland but not Dev-C++ > > If you compile with Borland using the AT switch, i am sure it will not > compile either: > > E.g. bcc32 -AT temp.cpp > bcc32 -A temp.cpp > > -AT forces ANSI compatibility. -A > > > > > > #include <iostream.h> > > #include <stdlib.h> > > > > #ifndef QUEUE > > #define QUEUE > > > > const int MAX=401; > > int i; > > template <class queueElement> > > > This is not definition of queueElement. > > > > > > Ioannis > > * Ioannis Vranos > * Programming pages: http://www.noicys.cjb.net > * Alternative URL: http://run.to/noicys |
|
From: Ioannis V. <no...@ho...> - 2002-04-27 04:35:24
|
What would be valid data for a float and how it would differ from the random data stored in an unitialised one? Ioannis * Ioannis Vranos * Programming pages: http://www.noicys.cjb.net <http://www.noicys.cjb.net/> * Alternative URL: http://run.to/noicys -----Original Message----- From: dev...@li... [mailto:dev...@li...] On Behalf Of Glen Corby Sent: Friday, April 26, 2002 12:49 PM To: dev...@li... Subject: [Dev-C++] Checking validity of float and double This isnt a dev-C++ specific question, but i am wondering if anyone knows how you check if a float or double carrys valid data. My program runs fine most of the time but every now and again it spits out -NaN. I figure its from uninitialised variables, however I cant track down where they enter the program without performing periodick checks at suspect locations. So is there a function like bool validFloat(float num) for instance? |
|
From: Ioannis V. <no...@ho...> - 2002-04-27 00:48:56
|
What would be valid data for a float and how it would differ from the random data stored in an unitialised one? Ioannis * Ioannis Vranos * Programming pages: http://www.noicys.cjb.net <http://www.noicys.cjb.net/> * Alternative URL: http://run.to/noicys -----Original Message----- From: dev...@li... [mailto:dev...@li...] On Behalf Of Glen Corby Sent: Friday, April 26, 2002 12:49 PM To: dev...@li... Subject: [Dev-C++] Checking validity of float and double This isnt a dev-C++ specific question, but i am wondering if anyone knows how you check if a float or double carrys valid data. My program runs fine most of the time but every now and again it spits out -NaN. I figure its from uninitialised variables, however I cant track down where they enter the program without performing periodick checks at suspect locations. So is there a function like bool validFloat(float num) for instance? |
|
From: <jar...@ig...> - 2002-04-26 12:31:50
|
On 26 Apr, Glen Corby wrote:
> This isnt a dev-C++ specific question, but i am wondering if anyone knows how you check if a float or double carrys valid data.
>
> My program runs fine most of the time but every now and again it spits out -NaN.
> I figure its from uninitialised variables, however I cant track down where they enter the program without performing periodick checks at suspect locations.
>
> So is there a function like
> bool validFloat(float num) for instance?
Here a function from the open SciLab system (matlab clone)
try this
int mxIsNaN(double x)
{
if ( x != x )
return 1;
else return 0;
}
--
Helmut Jarausch
Lehrstuhl fuer Numerische Mathematik
Institute of Technology, RWTH Aachen
D 52056 Aachen, Germany
|
|
From: Glen C. <gc...@pa...> - 2002-04-26 09:38:03
|
This isnt a dev-C++ specific question, but i am wondering if anyone =
knows how you check if a float or double carrys valid data.=20
My program runs fine most of the time but every now and again it spits =
out -NaN.
I figure its from uninitialised variables, however I cant track down =
where they enter the program without performing periodick checks at =
suspect locations.=20
So is there a function like=20
bool validFloat(float num) for instance?
|
|
From: Andy E. <and...@pa...> - 2002-04-25 20:45:51
|
Hi all .=20 I'm unsure if anyone else has come across this, but I'll mention it = anyway -=20 As soon as I try to compile _any_ code, I get an error pop-up (with the = "X" in it) which says - "Access violation at address 004FB939 in module = devcpp.exe. Read of address FFFFFFFF " . =20 Unfortunate, as this beta looks _great_ , and will be _really_ good, = once the few glitches are ironed out .... ! :-) Kudos to all those = involved ! =20 =20 |
|
From: <Bha...@cs...> - 2002-04-25 19:45:55
|
Yesterday I downloaded the Dev C++ application twice. It gave me the error message for the frist download, so I did it again by downloading file devcpp4290, the 9465kb application. It appeared to download successfully but gives me the following error message when I click on the application using Windows Explorer: NSIS ERROR Installer verification failed plus text with possible reasons for the failure including a virus, incomplete download and failing disk. I ran McAfee which said the file was clean. At Ioannis' suggestion I downloaded memt2.9 today, unzipped it and ran it for 5 passes with no errors reported. Apparently my CPU memory is OK. Thanks for the suggestion though, Ioannis. The NSIS error message also said I could try to force the installation of the application using the /NCRC command line switch, but recommended not doing that. I don't know how to do that anyway. Any suggestions on how I can get the application to execute would be great. Should I download it a third time? |
|
From: Ioannis V. <no...@ho...> - 2002-04-25 14:32:50
|
> -----Original Message----- > From: Wal...@va... [mailto:Wal...@va...] > Sent: Thursday, April 25, 2002 2:53 PM > To: no...@ho... > Subject: RE: [Dev-C++] templates > > > > queueElement is defined in the header file which is included > in the .cpp > file. My code compiles with Borland but not Dev-C++ If you compile with Borland using the AT switch, i am sure it will not compile either: E.g. bcc32 -AT temp.cpp -AT forces ANSI compatibility. > > #include <iostream.h> > #include <stdlib.h> > > #ifndef QUEUE > #define QUEUE > > const int MAX=401; > int i; > template <class queueElement> This is not definition of queueElement. Ioannis * Ioannis Vranos * Programming pages: http://www.noicys.cjb.net * Alternative URL: http://run.to/noicys |
|
From: Ioannis V. <no...@ho...> - 2002-04-25 06:33:26
|
> -----Original Message-----
> From: dev...@li...
> [mailto:dev...@li...] On Behalf
> Of Wal...@va...
> Sent: Monday, April 22, 2002 6:03 PM
> To: dev...@li...
> Subject: [Dev-C++] templates
>
>
> I am getting these errors/warnings, need some help please.
> Walt
>
> (Embedded image moved to file: pic06617.pcx)
>
>
> This in .cpp file:
>
> #include <iostream.h>
#include <iostream>
> #include <stdlib.h>
> #include <ctype.h>
> #include "Temp.h"
>
> void ShowCommands ();
>
> int main ()
> {
>
> char command;
> Queue<int>q;
> queueElement item;
There is no type queueElement.
Ioannis
* Ioannis Vranos
* Programming pages: http://www.noicys.cjb.net
* Alternative URL: http://run.to/noicys
|
|
From: Ioannis V. <no...@ho...> - 2002-04-25 05:45:54
|
I guess you are talking about Dev-C++. I strongly suspect RAM problem, so download and run memtest86: www.memtest86.com Ioannis * Ioannis Vranos * Programming pages: http://www.noicys.cjb.net <http://www.noicys.cjb.net/> * Alternative URL: http://run.to/noicys -----Original Message----- From: dev...@li... [mailto:dev...@li...] On Behalf Of Bha...@cs... Sent: Wednesday, April 24, 2002 6:40 PM To: dev...@li... Subject: [Dev-C++] can't use downloaded appl I downloaded the application twice - once from each of the first 2 sources listed. Each time the download apparently completed successfully. When I click on the application to open it, I get a message saying "installer verification failed" plus text about possible causes. I have 12 Gig available after the download. Any suggestions on how to get it working would be really appreciated. Thanks, Bob |
|
From: Jason H. <jas...@bt...> - 2002-04-25 00:50:25
|
I'm not familiar with Dev C++ 4.9.2, but check that you are compiling for a windows program (or console if you need to). Windows uses the backslash character '\' and you can use short (8 char) or long filenames in Win 98 etc... Jason ----- Original Message ----- From: "Peter Key" <pw...@st...> To: "DEV C++" <dev...@li...> Sent: Wednesday, April 24, 2002 6:17 AM Subject: [Dev-C++] QUESTIONS FROM A NEWBIE I am very much a C++ newbie trying to get up to speed! I hope I can bother you for a few answers..... I have just started with Dev C++ 4.9.2. When compiling I am getting errors like: 7 //C/MYPROGS/FLTKTest/Hello1/Hello1.cpp undefined reference to `Fl_Window::Fl_Window(int, int, char const *)' As far as I can see I have properly included headers etc and nominated the correct library/header etc paths in Dev C++, so I am not sure why these errors. A number of questions: 1. I am running on Win 98. Am a bit confused about whether to use / or \ for file path separators in my source code and also include paths in Dev C++ IDE. As far as I understand, UNIX and DOS use different separators. 2. Do I need to keep my directory names to 8 characters or less with no spaces? (again a carryover from DOS or UNIX). 3. Is there any documentation listing the error messages and explanations for DEV C++? Regards, Peter Key _______________________________________________ Dev-cpp-users mailing list Dev...@li... https://lists.sourceforge.net/lists/listinfo/dev-cpp-users |
|
From: <Bha...@cs...> - 2002-04-24 15:39:43
|
I downloaded the application twice - once from each of the first 2 sources
listed. Each time the download apparently completed successfully. When I
click on the application to open it, I get a message saying "installer
verification failed" plus text about possible causes. I have 12 Gig available
after the download. Any suggestions on how to get it working would be really
appreciated.
Thanks,
Bob
|
|
From: Peter K. <pw...@st...> - 2002-04-24 05:19:14
|
I am very much a C++ newbie trying to get up to speed! I hope I can bother you for a few answers..... I have just started with Dev C++ 4.9.2. When compiling I am getting errors like: 7 //C/MYPROGS/FLTKTest/Hello1/Hello1.cpp undefined reference to `Fl_Window::Fl_Window(int, int, char const *)' As far as I can see I have properly included headers etc and nominated the correct library/header etc paths in Dev C++, so I am not sure why these errors. A number of questions: 1. I am running on Win 98. Am a bit confused about whether to use / or \ for file path separators in my source code and also include paths in Dev C++ IDE. As far as I understand, UNIX and DOS use different separators. 2. Do I need to keep my directory names to 8 characters or less with no spaces? (again a carryover from DOS or UNIX). 3. Is there any documentation listing the error messages and explanations for DEV C++? Regards, Peter Key |
|
From: Alex <sum...@be...> - 2002-04-24 03:06:48
|
I need my email address Un-subscribed please. It is = Sum...@be... thank you. |
|
From: Christiaan S. <ck...@ia...> - 2002-04-23 22:42:14
|
My programs run in software rendering (the ones i compile again, = previously compiled ones use hardware). I need them to use the 3d card, = winxp has a diffrent opengl dll than the one that comes with dev c++ i = think, how do i update dev c++? do i copy the dll somewhere in the dev = c++ hierarchy? |
|
From: Andy E. <and...@pa...> - 2002-04-23 07:20:33
|
Hi all . I've been mulling this over for a while, so I thought I'd see = if anyone else would like this feature ... (just btw, I'm using Devcpp = 4.0 under Win98 ) . =20 In the "directories" section of "compiler options" , you can specify = the directories to be searched. What I would find *really* useful would = be if I could use a wildcard (*) to specify that *all subdirs* under = this directory should be searched as well. For example -=20 "C:\devcpp\foo\; C:\mydir\* " This would be a lot more concise than doing what is needed at the = moment, i.e. , something like -=20 "C:\devcpp\foo\; C:\mydir\subdir1; C:\mydir\subdir2\; = C:\mydir\subdir1\anotherdir\ " ...... (and on and on .... :-)=20 One of the biggest hassles in compiling programs is when files can't be = found (arrgh) , so allowing the use of a wildcard like this would be = _really_ useful . Is there *anyone else* who'd like to see this? =20 ( As an aside, if this _weren't_ to be implemented , maybe someone can = point me to an easy-to-use directory-walking utility that runs under = win98 . ) Thanks for your time - keen to hear your thoughts on this ! Bye for = now .... |
|
From: Yeoh H. <ye...@ye...> - 2002-04-23 06:47:52
|
<begin extract> WASP Server for C++ is a small, embeddable solution that brings the advantages of Web Services to the world of C and C++. A flexible runtime framework based on standard SOAP and WSDL ensures seamless integration with existing solutions. WASP Server for C++ also includes a number of advanced features that set it above the competition, including security, rich type mapping, extensibility, remote references, extensibility, and portability. WASP Server for C++ performs dynamic and automatic data type mapping between C++ and XML, supporting simple and complex datatypes and objects. WASP Server for C++ supports a variety of configuration options and extensions. WASP services can run stand-alone, or they can be deployed within a Web server. The environment supports custom datatypes, custom encodings, custom serialization modules, and custom authentication and authorization mechanisms. A feature unique to WASP, remote references allow a Web Service to pass a reference to another Web Service over the SOAP. Remote references are critical to many distributed computing design patterns, particularly the Factory pattern, which is used in many enterprise-class application systems. WASP Server for C++ comes with a convenient API and a set of command-line code generation tools that give developers a strong foundation for building portable Web Services. WASP Server for C++ is supported on Microsoft Windows CE/95/98/NT/2000/XP, Linux, and Sun Solaris. The core SOAP stack is available as Open Source, allowing users to port WASP Server for C++ to additional platforms as desired. <end extract> The URL is: http://www.systinet.com/products/overview.html#c++ Regards, Yeoh ~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~ Author of "How to Create an eBook Using Visual C++" Free Downloads at http://www.yeohhs.com ICT eBooks by Yeoh HS ~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~`~ |
|
From: Graeme F. <gr...@dr...> - 2002-04-23 03:22:40
|
Assigning values to an enum has (under certain circumstances) great value.
If you have set up an enum in a binary escalating scale (1,2,4,8,16 etc) and
you also wish to use it in a loop then use the bitwise shift operator as
follows:
#include <conio>
#include <iostream>
enum state {none = 1, open =2, modified = 4, deleted = 8};
int main(int argc, char* argv[])
{
for (int i=1; i<=deleted; i<<=1)
{
std::cout << "did something\n";
}
getch();
return 0;
}
Now it is possible to loop through each state and do something as well as
use logical operators to combine the different states using the bitwise or
operator, e.g..
fileState |= modified;
Graeme.
|
|
From: Graeme F. <gr...@dr...> - 2002-04-23 03:22:23
|
Make your local variable static, then it will retain its value from one call to the next -----Original Message----- I have global varibles in my program that are used by one function to keep track of it's state. Is there a way to have a local varible to keep it's value between calls? |