home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The C Users' Group Library 1994 August
/
wc-cdrom-cusersgrouplibrary-1994-08.iso
/
vol_300
/
355_03
/
slk3.exe
/
TEST
/
TST
/
STR.TST
< prev
next >
Wrap
Text File
|
1989-02-16
|
475b
|
28 lines
good_strings()
{
char *s;
/* 1/12/86 Problem with backslash in strings. */
s = "this string contains newline \n, tab \t, single quote \' \
and double quote \" ";
/* 1/12/86 Continuation convention did not work. */
s = "this is a long \
continued string";
}
bad_strings()
{
char *s;
/* Multiple line string constant. */
s = "this is a long
continued string"
/* 1/14/86 Run on strings hung up the CPP. */
s = "this is a runon string
;
}