dev-cpp-users Mailing List for Dev-C++ (Page 760)
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: Luke <li...@ya...> - 2000-10-16 23:02:07
|
Hi! I was just wondering, is DevC++ a visual compiler? Like Visual C++ 6.something Cause someone told me it wasn't and that I should probably buy one (but eh heh I'm too cheap) Thanks for the help! ===== Luke "Ask me no questions and I will tell you no lies" __________________________________________________ Do You Yahoo!? Yahoo! Messenger - Talk while you surf! It's FREE. http://im.yahoo.com/ |
From: Colin L. <col...@wa...> - 2000-10-16 09:56:17
|
>I really don't have a problem >but I wanted to know is there ever going to be a dev >c++ for linux? yes, Dev-C++ should be ported to linux in some months, i can't tell exactly when at the moment Colin >===== >The one known as DADDIUS > >__________________________________________________ >Do You Yahoo!? >Yahoo! Messenger - Talk while you surf! It's FREE. >http://im.yahoo.com/ >_______________________________________________ >Dev-cpp-users mailing list >Dev...@li... >http://lists.sourceforge.net/mailman/listinfo/dev-cpp-users |
From: Daddius <da...@ya...> - 2000-10-15 22:38:46
|
I really don't have a problem but I wanted to know is there ever going to be a dev c++ for linux? ===== The one known as DADDIUS __________________________________________________ Do You Yahoo!? Yahoo! Messenger - Talk while you surf! It's FREE. http://im.yahoo.com/ |
From: Jason S. <jas...@at...> - 2000-10-15 22:33:22
|
Ah! Thanks for clearing that up, I was a bit confused. -.- =3Do -Jay- ----- Original Message -----=20 From: Quentin Smith=20 To: dev...@li...=20 Sent: Sunday, October 15, 2000 5:22 PM Subject: Re: Re [Dev-C++] Question of the day Hi- Actually, /b moves the cursor back. You then need to print what you = want to replace it with. --Quentin |
From: Quentin S. <mac...@bi...> - 2000-10-15 22:24:47
|
Hi- Actually, /b moves the cursor back. You then need to print what you want = to replace it with. --Quentin ----- Original Message -----=20 From: Jason Silverman=20 To: dev...@li...=20 Sent: Sunday, October 15, 2000 5:43 PM Subject: Re: Re [Dev-C++] Question of the day -.- My book *does* say /b is blank space, but your right, it's = backspace. Eitherway, if you use printf("This is a test\b test"); it does do the = backspace. Seems there has to be an action after the \b for it to = occur? -.- -Jay- ----- Original Message -----=20 From: Dario Peralta=20 To: dev...@li...=20 Sent: Sunday, October 15, 2000 1:25 PM Subject: Re: Re [Dev-C++] Question of the day *cough*cough* /* The complete set of escape sequences is: \a alert (bell) character \b backspace \f formfeed \n newline \r carriage return \t horizontal tab \v vertical tab \\ backslash \? question mark \' single quote \" double quote \ooo octal number \xhh hexadecimal number */ That's what The C Programming Language (ANSI C), Second Edition by = Brian W.=20 Kernighan and Dennis M. Ritchie says. Just thought you should know. adios, biterman = _________________________________________________________________________= Get Your Private, Free E-mail from MSN Hotmail at = http://www.hotmail.com. Share information about yourself, create your own public profile at=20 http://profiles.msn.com. _______________________________________________ Dev-cpp-users mailing list Dev...@li... http://lists.sourceforge.net/mailman/listinfo/dev-cpp-users |
From: Jason S. <jas...@at...> - 2000-10-15 21:45:58
|
-.- My book *does* say /b is blank space, but your right, it's = backspace. Eitherway, if you use printf("This is a test\b test"); it does do the = backspace. Seems there has to be an action after the \b for it to = occur? -.- -Jay- ----- Original Message -----=20 From: Dario Peralta=20 To: dev...@li...=20 Sent: Sunday, October 15, 2000 1:25 PM Subject: Re: Re [Dev-C++] Question of the day *cough*cough* /* The complete set of escape sequences is: \a alert (bell) character \b backspace \f formfeed \n newline \r carriage return \t horizontal tab \v vertical tab \\ backslash \? question mark \' single quote \" double quote \ooo octal number \xhh hexadecimal number */ That's what The C Programming Language (ANSI C), Second Edition by = Brian W.=20 Kernighan and Dennis M. Ritchie says. Just thought you should know. adios, biterman = _________________________________________________________________________= Get Your Private, Free E-mail from MSN Hotmail at = http://www.hotmail.com. Share information about yourself, create your own public profile at=20 http://profiles.msn.com. _______________________________________________ Dev-cpp-users mailing list Dev...@li... http://lists.sourceforge.net/mailman/listinfo/dev-cpp-users |
From: Dario P. <do...@ho...> - 2000-10-15 21:25:15
|
*cough*cough* /* The complete set of escape sequences is: \a alert (bell) character \b backspace \f formfeed \n newline \r carriage return \t horizontal tab \v vertical tab \\ backslash \? question mark \' single quote \" double quote \ooo octal number \xhh hexadecimal number */ That's what The C Programming Language (ANSI C), Second Edition by Brian W. Kernighan and Dennis M. Ritchie says. Just thought you should know. adios, biterman _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. |
From: Jason S. <jas...@at...> - 2000-10-15 19:55:57
|
In my book, it says \b is blank space, not backspace. -.- -Jay- ----- Original Message -----=20 From: Ioannis Vranos=20 To: dev...@li...=20 Sent: Sunday, October 15, 2000 4:36 PM Subject: RE: Re [Dev-C++] Question of the day You are talking about '\a' (bell) and i am talking about '\b' = (backspace). =20 =20 Ioannis -----Original Message----- From: dev...@li... = [mailto:dev...@li...]On Behalf Of SpiderMan Sent: Sunday, October 15, 2000 8:28 PM To: dev...@li... Subject: Re [Dev-C++] Question of the day In my C++ book it says that \b will produce a system beep = through the internal speakers, not earse characters. |
From: Ioannis V. <no...@ya...> - 2000-10-15 19:35:34
|
You are talking about '\a' (bell) and i am talking about '\b' (backspace). Ioannis -----Original Message----- From: dev...@li... [mailto:dev...@li...]On Behalf Of SpiderMan Sent: Sunday, October 15, 2000 8:28 PM To: dev...@li... Subject: Re [Dev-C++] Question of the day In my C++ book it says that \b will produce a system beep through the internal speakers, not earse characters. |
From: SpiderMan <Spi...@pr...> - 2000-10-15 18:28:41
|
In my C++ book it says that \b will produce a system beep through = the internal speakers, not earse characters. ----- Original Message -----=20 From: Ioannis Vranos=20 To: dev...@li...=20 Sent: Sunday, October 15, 2000 4:21 AM Subject: [Dev-C++] Question of the day Why the following code does not work as it is supposed to work? =20 =20 #include <stdio.h> int main() { printf("This is a test\b\b\b\b\b\n"); =20 return 0; } =20 I expected to print on screen "This is a". =20 I tried it on 3 compilers with different combinations and the results = were the same ('\b' not erasing). =20 =20 Ioannis =20 * Ioannis Vranos * Programming pages: http://members.nbci.com/noicys * Alternative URL: http://run.to/noicys |
From: Ioannis V. <no...@ya...> - 2000-10-15 10:21:04
|
Why the following code does not work as it is supposed to work? #include <stdio.h> int main() { printf("This is a test\b\b\b\b\b\n"); return 0; } I expected to print on screen "This is a". I tried it on 3 compilers with different combinations and the results were the same ('\b' not erasing). Ioannis * Ioannis Vranos * Programming pages: http://members.nbci.com/noicys * Alternative URL: http://run.to/noicys |
From: SpiderMan <Spi...@pr...> - 2000-10-14 21:00:22
|
Yes I see what you mean, I think the Microsoft people brought this = on themselves; people shouldn't have to download 5 megs worth of files = just to get one 200k file that they really want. Shameless plug: I've added 5 more tools from platform SDK they are: Stress.zip - similar to resource watcher = (which comes with windows) Heap Walker.zip - walk the heap : ) ImagEdit.zip - kinda dumb image editor Heap Watcher.zip - watch the heap : ) Screen Capture.zip - let's you capture your screen movments = and saves it as an .avi -------------------------------------------------------------------------= ------- "Don`t be afraid about it ;-) i can see what`s spam and what`s not spam = :) The only thing i see there, is that DlgEdit may probably not = distributed like this as it is under the freedomless Microsoft license. = This is just for you to know, but you won`t probably have troubles since = Microsoft looks like the "bad" company with their licenses since Linux = and its Free Software have came (so they`re probably trying to change that people = feeling :-) I had the same problem for distributing the Win32 API help file, but i = was encouraged (by a person who got the license to distribute this file) = to distribute it too, although i did not have its license.=20 I hope you see what i mean :-) Greetings, Colin" |
From: Guido C. <cec...@tu...> - 2000-10-14 00:20:19
|
Hi all, When I put the function "include <conio.h>" And I compile the source code, appears the following error message: "ld: cannot open crt2.o: No such file or directory" What can I do? Please help me! Thanks. Guido mailto:cec...@tu... |
From: Linda H. <lz...@sp...> - 2000-10-12 21:22:11
|
I am having a problem printing also, but with the output. using #include <fstream, putting ofstream pout ("PRN") in int main(), and changing the cout's to pout's does absolutely nothing on my system. Linda ------------------------------- ----- Original Message ----- From: "mark r rivet" <ma...@bi...> To: <dev...@li...> Sent: Thursday, October 12, 2000 12:34 PM Subject: [Dev-C++] file|print problem > hello, this is my first message.new to the group and program. > > Im trying to print out the source files from my project. > but when I click on file|print from the toolbar, the appropriate messages > come up ,and when i finally say ok print,the file does'nt get printed.And > there are no error messages.Anyone seen this before or I have some kind of > system trouble.I have no trouble printing from any other application. > > > thanks > Mark > > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > http://lists.sourceforge.net/mailman/listinfo/dev-cpp-users |
From: mark r r. <ma...@bi...> - 2000-10-12 15:32:17
|
hello, this is my first message.new to the group and program. Im trying to print out the source files from my project. but when I click on file|print from the toolbar, the appropriate messages come up ,and when i finally say ok print,the file does'nt get printed.And there are no error messages.Anyone seen this before or I have some kind of system trouble.I have no trouble printing from any other application. thanks Mark |
From: Colin L. <col...@wa...> - 2000-10-12 11:46:10
|
> P.S: This is not spam, I was asked to upload the files. Don't be afraid about it ;-) i can see what's spam and what's not spam :) The only thing i see there, is that DlgEdit may probably not distributed= like this as it is under the freedomless Microsoft license. This is just= for you to know, but you won't probably have troubles since Microsoft= looks like the "bad" company with their licenses since Linux and its Free= Software have came (so they're probably trying to change that people= feeling :-) I had the same problem for distributing the Win32 API help file, but i was= encouraged (by a person who got the license to distribute this file) to= distribute it too, although i did not have its license. I hope you see what i mean :-) Greetings, Colin |
From: Ioannis V. <no...@ya...> - 2000-10-12 11:28:32
|
-----Original Message----- From: dev...@li... [mailto:dev...@li...]On Behalf Of Linda Hohenstein Sent: Wednesday, October 11, 2000 7:54 PM To: DevCpp List Subject: [Dev-C++] Fw: C++ Program Help Please I'm having a trouble understanding how to do this assignment. We are supposed to send a character constant as areference parameter to the function GetUserInput six times - to get Odometer A character constant: 'a'. As an argument to a function f() which accepts a reference of a char. f('a'). Start, Odometer End, Hours Start, Hours End, Minutes Start and Minutes End. The instructor said that I do not have to initialize (as in (//get total mileage) StartReading, but to just send the string. I don't understand the syntax for doing this or how to use it in the output statement. I am also confused about how to do the Average Speed function. Since we are required to convert the total time of the trip into minutes, someone could travel a hundred miles in two hours, but then it would be 100/120 which doesn't make sense. The function I did not understand it. I think your time is 120 minutes here. for turning minutes into hours and minutes also gets an error for using ints. However, we don't want a float for this since we have to output the times in hour:minute format. Suppose you have traveled 169 minutes. 169/60 is the hours of the journet and 169%60 is the rest of the minutes. So in this example: 169/60=2 hours 169%60= 49 minutes. Total time: 2 hours + 49 minutes. Ioannis |
From: Ioannis V. <no...@ya...> - 2000-10-12 11:16:57
|
Go to the command prompt window, cd in the directory you have the source code, and run the exe from within the command prompt window. -----Original Message----- From: dev...@li... [mailto:dev...@li...]On Behalf Of Saundra Schwarz Sent: Wednesday, October 11, 2000 4:00 AM To: dev...@li... Subject: [Dev-C++] Print Question I'm a student taking a class in C programming. I need to be able to print the results of my program, but when I use the run feature the program runs then the run window closes. Is there a way to keep the run window active so that I can print the results of my run? Right now i'm using a while loop at the end of my programs to hold the screen until I can print. -Sam |
From: Richard P. E. <ev...@ma...> - 2000-10-11 21:42:27
|
Just wanted to thank everyone who responded to my question. The glaring mistake was a typo in the text book I am using showing ( ) where it should have been { }. All the answers were correct and I am encouraged to know where to go for help. Hopefully I can return the favor for some one else in the near future. Richard P. Evans |
From: Vesa N. <wa...@dl...> - 2000-10-11 20:01:32
|
> c:\dev-c++\projects\dplugx\dplugx_t.o(.text+0x103):dplugx_t.cpp: > undefined reference to `GetStockObject@4' > c:\dev-c++\projects\dplugx\dplugx_t.o(.text+0x4fa):dplugx_t.cpp: > undefined reference to `DirectDrawCreateEx@16'I tried to like with > -lddraw -ld3dx but you see, it doesnt fix the problem.Also, this major > bug in Dev-C++ 4 about running out of memory or this awful msg : Hi, I got around this by getting the newest library files from the latest mingw32 and copying them over the ones that come with Dev-C++. You can find mingw by following links on www.bloodshed.net. -Vesa |
From: Linda H. <lz...@sp...> - 2000-10-11 17:53:50
|
I'm having a trouble understanding how to do this assignment. We are supposed to send a character constant as areference parameter to = the function GetUserInput six times - to get Odometer Start, Odometer = End, Hours Start, Hours End, Minutes Start and Minutes End. The = instructor said that I do not have to initialize (as in (//get total = mileage) StartReading, but to just send the string. I don't understand = the syntax for doing this or how to use it in the output statement. I am also confused about how to do the Average Speed function. Since we = are required to convert the total time of the trip into minutes, someone = could travel a hundred miles in two hours, but then it would be 100/120 = which doesn't make sense. The function for turning minutes into hours = and minutes also gets an error for using ints. However, we don't want a = float for this since we have to output the times in hour:minute format. Any help would be appreciated. The code is below. TIA, Linda //AverageMiles.cpp //This program computes the average speed //on a trip. #include <iostream> //for DevC++ #include <string> using namespace std; void GetUserInput (char Prompt[], int &UserInput) { cout << Prompt << endl; cin >> UserInput; return; } int HoursInMinutes (int HoursTraveled) { return HoursTraveled * 60; } int AverageSpeed (int TotalMiles, int TravelTimeInMinutes) { return TotalMiles/TravelTimeInMinutes; } void MinutesToHoursAndMinutes (int TravelTimeInMinutes, int &TimeHours, int &TimeMinutes) { TravelTimeInMinutes /60 =3D TimeHours; TravelTimeInMinutes %60 =3D TimeMinutes; return; } int main() { //get total mileage char OdometerStart[] =3D "Enter the start odometer reading: "; int StartReading; GetUserInput (OdometerStart, StartReading); char OdometerEnd[] =3D "Enter the end odometer reading: "; int EndReading; GetUserInput (OdometerEnd, EndReading); int TotalMileage =3D EndReading - StartReading; //get start and end hours; convert hours to minutes char HourStart[] =3D "Enter hour of start: "; int StartHour; GetUserInput (HourStart, StartHour); char HourEnd[] =3D "Enter hour of stop: "; int EndHour; GetUserInput (HourEnd, EndHour); int TotalHoursInMinutes =3D EndHour - StartHour; HoursInMinutes (TotalHoursInMinutes); //get start and end minutes char MinutesStart[] =3D "Enter minutes of start: "; int StartMinutes; GetUserInput (MinutesStart, StartMinutes); char MinutesEnd [] =3D "Enter minutes of stop: "; int EndMinutes; GetUserInput (MinutesEnd, EndMinutes); int TotalTripMinutes =3D EndMinutes - StartMinutes; //get average miles int TotalTravelTime; TotalTravelTime =3D TotalHoursInMinutes + TotalTripMinutes; AverageSpeed (TotalMileage, TotalTravelTime); |
From: RoGeR <le...@sp...> - 2000-10-11 07:03:31
|
I am trying to program Direct X but I get undefined references errors : c:\dev-c++\projects\dplugx\dplugx_t.o(.text+0x103):dplugx_t.cpp: = undefined reference to `GetStockObject@4' c:\dev-c++\projects\dplugx\dplugx_t.o(.text+0x4fa):dplugx_t.cpp: = undefined reference to `DirectDrawCreateEx@16' I tried to like with -lddraw -ld3dx but you see, it doesnt fix the = problem. Also, this major bug in Dev-C++ 4 about running out of memory or this = awful msg : Access Violation at address 00403ECC in module 'DEVCPP.exe" Read of address 294B4F78 And ofcourse the followup window : Invalid pointer operation Pls FIX FIX FIX |
From: JESSE S. <sec...@ya...> - 2000-10-11 04:36:05
|
send me the source code and i'll see if i can help you OKAY? jesse __________________________________________________ Do You Yahoo!? Get Yahoo! Mail - Free email you can access from anywhere! http://mail.yahoo.com/ |
From: Adam B. <abe...@ho...> - 2000-10-11 04:25:59
|
Saundra, try this: #include <stdlib.h> system ("pause"); It should ask for input to continue. >From: "Saundra Schwarz" <Sch...@ho...> >Reply-To: dev...@li... >To: <dev...@li...> >Subject: [Dev-C++] Print Question >Date: Tue, 10 Oct 2000 18:59:44 -0700 > >I'm a student taking a class in C programming. I need to be able to print >the results of my program, but when I use the run feature the program runs >then the run window closes. Is there a way to keep the run window active >so that I can print the results of my run? Right now i'm using a while >loop at the end of my programs to hold the screen until I can print. > >-Sam _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com. |
From: SpiderMan <Spi...@pr...> - 2000-10-11 03:13:45
|
Include stdlib.h then at the end of your program write: = system("pause"); here is an example: #include <iostream.h> #include <stdlib.h> void main() { cout<<"Hello world!\n"; system("pause"); } ----- Original Message -----=20 From: Saundra Schwarz=20 To: dev...@li...=20 Sent: Tuesday, October 10, 2000 6:59 PM Subject: [Dev-C++] Print Question I'm a student taking a class in C programming. I need to be able to = print the results of my program, but when I use the run feature the = program runs then the run window closes. Is there a way to keep the run = window active so that I can print the results of my run? Right now i'm = using a while loop at the end of my programs to hold the screen until I = can print. =20 -Sam -------------------------------------------------------------------------= ----- Link is external to the Privacyx.com System |