X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: Sterten AT aol DOT com Message-ID: Date: Wed, 7 Mar 2007 11:06:51 EST Subject: line feed To: djgpp AT delorie DOT com MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="-----------------------------1173283611" X-Mailer: 9.0 SE for Windows sub 5009 X-Spam-Flag: NO Reply-To: djgpp AT delorie DOT com -------------------------------1173283611 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable on this computer in my C-programs=20 printf("%c",10); prints ascii 13 and ascii 10. =20 While on another computer it only printed acii 10 and I used print("%c%c",13,10) for the above purpose. =20 But that means, the old programs no longer work correctly ?!? =20 Is it possible to check the system and then branch to=20 whatever suitable to print , so the programs work universally ? =20 -------------------------------1173283611 Content-Type: text/html; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable
 
on this computer in my C-programs
printf("%c",10);
prints ascii 13 and ascii 10.
 
While on another computer it only printed acii 10
and I used print("%c%c",13,10) for the above purpose.
 
But that means, the old programs no longer work correctly ?!?
 
Is it possible to check the system and then branch to
whatever suitable to print , so the programs work universally=20 ?
-------------------------------1173283611--