RE: I found an error in printf

new topic     » topic index » view thread      » older message » newer message

I disagree.  13 is the code for \r (carriage return).  So what you're
telling printf to do is to return to the beginning of the line, print a
double quote, and then go to the next line.  That's exactly what it does.

Matt Lewis 

-----Original Message-----
From: xerox_irs at lvcm.com [mailto:xerox_irs at lvcm.com]
Subject: I found an error in printf


printf(1,"Unknown Charachter \"%s\"\n",{13})
--<outputs>in 2.3 and 2.4
"nknown Charachter "

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu