home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Startware 5
/
STARTWARE5.ISO
/
data
/
ufo
/
database
/
addbackslash.c
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
UTF-8
Wrap
C/C++ Source or Header
|
1997-01-29
|
196 b
|
18 lines
/*
/* Aggiunta di \ in coda ad ogni linea di stdin
/*
*/
#include <stdio.h>
#define MAXLENGTH 4096
void main(void)
{
char S[MAXLENGTH];
while(!feof(stdin)&&gets(S))
printf("%s\\\n",S);
}