[OT] RE: lfs-crash while copying via samba

Matthias Minich matthias at planet-minich.de
Mon Jan 1 15:11:06 PST 2001


ok, ok, i give up...

for (y2k=2000; y2k < 3000; y2k++)
	{
	cout << y2k
	sleep 31536000
	}

> -----Original Message-----
> From: lfs-discuss-owner at linuxfromscratch.org
> [mailto:lfs-discuss-owner at linuxfromscratch.org]On Behalf Of Brad Hartin
> Sent: Monday, January 01, 2001 10:48 PM
> To: lfs-discuss at linuxfromscratch.org
> Subject: RE: [OT] RE: lfs-crash while copying via samba
> 
> 
> On Mon, 1 Jan 2001, Matthias Minich wrote:
> 
> > hmmm,
> > 
> > for (y2k = 2000; y2k < 3000; y2k++)
> > 	{
> > 	cout << y2k
> > 	}
> 
> What I had said is true in most cases, including your own case (yours
> would give 2000200120022003..., etc.).
> 
> i.e.
> 
> ---------------------------------------------------
> #include <iostream.h>
> 
> void main (void) {
> 
>    int y2k = 2000;
>  
>    if (2000 == y2k++) {
>       cout << "y2k is 2000\n";
>    } else {
>       cout << "y2k is not 2000!\n";
>    }
> 
>    cout << "y2k after conditional is " << y2k << "\n";
> 
> }
> ---------------------------------------------------
> 
> Output is:
> 
> ---------------------------------------------------
> y2k is 2000
> y2k after conditional is 2001
> ---------------------------------------------------
> 
> Point proven =)
> 
> -----------------------------------------
> Brad Hartin - bhartin at strafco.com
> Communications Administrator
> Straus-Frank Enterprises Limited
> Carquest retail/wholesale distributor for
> areas in TX, OK, LA, AR, NM, and KS
> 
> 
> -- 
> Unsubscribe: send email to lfs-discuss-request at linuxfromscratch.org
> and put unsubscribe in the subject header of the message
> 

-- 
Unsubscribe: send email to lfs-discuss-request at linuxfromscratch.org
and put unsubscribe in the subject header of the message




More information about the lfs-dev mailing list