1. I found an error in printf
- Posted by xerox_irs at lvcm.com Feb 27, 2003
- 422 views
This is a multi-part message in MIME format. ------=_NextPart_000_0007_01C2DE47.EC6CE900 charset="iso-8859-1" printf(1,"Unknown Charachter \"%s\"\n",{13}) --<outputs>in 2.3 and 2.4 "nknown Charachter " ------=_NextPart_000_0007_01C2DE47.EC6CE900 charset="iso-8859-1" <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Diso-8859-1"> <META content=3D"MSHTML 5.50.4807.2300" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT face=3DArial size=3D2>printf(1,"Unknown Charachter=20 \"%s\"\n",{13})</FONT></DIV> <DIV><FONT face=3DArial size=3D2>--<outputs>in 2.3 and = 2.4</FONT></DIV> <DIV><FONT face=3DArial size=3D2>"nknown Charachter = ------=_NextPart_000_0007_01C2DE47.EC6CE900--
2. Re: I found an error in printf
- Posted by Robert Craig <rds at RapidEuphoria.com> Feb 27, 2003
- 417 views
xerox_irs at lvcm.com wrote: > printf(1,"Unknown Charachter \"%s\"\n",{13}) > --<outputs>in 2.3 and 2.4 > "nknown Charachter " I'd say that was correct. 13 is \r, i.e. carriage return. When it's printed, it moves the cursor to the left margin, but it does not move to the next line. After 13, the next character to be printed is " which overwrites the U in Unknown. Finally, you output a \n which moves to the next line. Regards, Rob Craig Rapid Deployment Software http://www.RapidEuphoria.com
3. Re: I found an error in printf
- Posted by xerox_irs at lvcm.com Feb 27, 2003
- 427 views
the problem is that when a whole bunch of charachters are running through that statement and every now and then it looks messed up like that. but now i understand why. ----- Original Message ----- From: Robert Craig <rds at RapidEuphoria.com> Subject: Re: I found an error in printf > > xerox_irs at lvcm.com wrote: > > printf(1,"Unknown Charachter \"%s\"\n",{13}) > > --<outputs>in 2.3 and 2.4 > > "nknown Charachter " > > I'd say that was correct. > 13 is \r, i.e. carriage return. > When it's printed, it moves the > cursor to the left margin, but it does not > move to the next line. After 13, the next character > to be printed is " which overwrites the U in Unknown. > Finally, you output a \n which moves to the next line. > > Regards, > Rob Craig > Rapid Deployment Software > http://www.RapidEuphoria.com > > > > TOPICA - Start your own email discussion group. FREE! >
4. Re: I found an error in printf
- Posted by 1evan at sbcglobal.net Feb 27, 2003
- 431 views
I don't think printf is supposed to do spelling checks. (Character)xerox_irs at lvcm.com wrote: > > > printf(1,"Unknown Charachter \"%s\"\n",{13}) > --<outputs>in 2.3 and 2.4 > "nknown Charachter " > > > >TOPICA - Start your own email discussion group. FREE! >