%!PS-Adobe-1.0 %%Creator: devps (Pipeline Associates, Inc.) %%CreationDate: Fri Sep 13 13:06:56 1996 %%Pages: (atend) %%DocumentFonts: (atend) /devps 180 dict def devps begin /res 10.000000 def /y_offset 843 def /X{exch}bind def /mm {transform round X round X itransform} bind def /r{rmoveto}bind def /m{moveto}bind def /l{lineto}bind def /rl{rlineto}bind def /st{stroke}bind def /gs{gsave}bind def /gr{grestore}bind def /cp{currentpoint}bind def /np{newpath}bind def /ct{curveto}bind def systemdict /setpacking known { /savepacking currentpacking def true setpacking } if /m0{0 0 moveto}bind def /xc{//res div}bind def /yc{//res neg div //y_offset add}bind def /lc{yc X xc X l st}bind def /mc{yc X xc X m}bind def /el{gs /a X def a div 1 X scale cp np a xc 2 div 0 360 arc st gr}bind def /ar{cp 7 2 roll np xc 5 1 roll atan 3 1 roll atan X arc st}bind def /sp{yc X xc X 6 2 roll yc X xc X 6 2 roll yc X xc X 6 2 roll ct}bind def /V{//res neg div //y_offset add currentpoint pop X m}bind def /H{//res div 0 transform X round X itransform pop currentpoint X pop moveto}bind def /h{//res div 0 r}bind def /v{//res neg div 0 X r}bind def /S{X H show}bind def /A{H //res div 1 index stringwidth pop sub 1 index length div 0 3 2 roll ashow}bind def /psize 10 def /height 0 def /cheight { height 0 ne { height } { psize } ifelse } bind def /slant 0 def /FF{findfont X dup 30 div 0 mm pop setlinewidth /psize X def [psize 0 cheight slant sin slant cos div mul cheight 0 0] makefont setfont}bind def /shade{gs /dy X def /dx X def np m 0 /dy rl /dx 0 rl 0 /dy neg rl /dx neg 0 rl closepath .9 setgray fill gr}bind def 1 setlinecap /resolution res 72 mul def /startFig { /SavedState save def userdict maxlength dict begin currentpoint transform DocumentInitState setmiterlimit setgray setdash setlinejoin setlinecap setlinewidth setmatrix itransform moveto /ury exch def /urx exch def /lly exch def /llx exch def /y exch 72 mul resolution div def /x exch 72 mul resolution div def currentpoint /cy exch def /cx exch def /sx x urx llx sub div def /sy y ury lly sub div def sx sy scale cx sx div llx sub cy sy div ury sub translate /DefFigCTM matrix currentmatrix def /initmatrix { DefFigCTM setmatrix } def /defaultmatrix { DefFigCTM exch copy } def /initgraphics { DocumentInitState setmiterlimit setgray setdash setlinejoin setlinecap setlinewidth setmatrix DefFigCTM setmatrix } def /showpage { initgraphics } def }bind def /clipFig { currentpoint 6 2 roll newpath 4 copy 4 2 roll moveto 6 -1 roll exch lineto exch lineto exch lineto closepath clip newpath moveto }bind def /doclip { llx lly urx ury clipFig } def /endFig { end SavedState restore }bind def /globalstart { fontnum psize slant height resolution currentpoint pagesave restore gsave }bind def /globalend { grestore moveto /resolution exch def /height exch def /slant exch def /psize exch def /fontnum exch def F /pagesave save def }bind def /fontnum 1 def systemdict /setpacking known { savepacking setpacking} if end /BP{ save mark devps begin m0 /DocumentInitState [ matrix currentmatrix currentlinewidth currentlinecap currentlinejoin currentdash currentgray currentmiterlimit ] cvx def }bind def /EP{ end cleartomark restore showpage}def /Encoding-1 256 array def 0 1 255 {Encoding-1 exch /.notdef put} for Encoding-1 8#301 StandardEncoding 8#101 26 getinterval putinterval %A-B Encoding-1 8#341 StandardEncoding 8#141 26 getinterval putinterval %a-b Encoding-1 8#241 StandardEncoding 8#301 16 getinterval putinterval %accents Encoding-1 8#373 StandardEncoding 8#365 1 getinterval putinterval %dotlessi Encoding-1 dup 8#41 /copyright put dup 8#42 /registered put dup 8#43 /trademark put dup 8#44 /logicalnot put dup 8#45 /Eth put dup 8#46 /eth put dup 8#47 /Thorn put dup 8#50 /thorn put dup 8#51 /brokenbar put dup 8#52 /degree put dup 8#53 /divide put dup 8#54 /multiply put dup 8#55 /minus put dup 8#56 /onehalf put dup 8#57 /onequarter put dup 8#60 /threequarters put dup 8#101 /Aacute put dup 8#102 /Acircumflex put dup 8#103 /Adieresis put dup 8#104 /Agrave put dup 8#105 /Aring put dup 8#106 /Atilde put dup 8#107 /Ccedilla put dup 8#110 /Eacute put dup 8#111 /Ecircumflex put dup 8#112 /Edieresis put dup 8#113 /Egrave put dup 8#114 /Iacute put dup 8#115 /Icircumflex put dup 8#116 /Idieresis put dup 8#117 /Igrave put dup 8#120 /Ntilde put dup 8#121 /Oacute put dup 8#122 /Ocircumflex put dup 8#123 /Odieresis put dup 8#124 /Ograve put dup 8#125 /Otilde put dup 8#126 /Scaron put dup 8#127 /Uacute put dup 8#130 /Ucircumflex put dup 8#131 /Udieresis put dup 8#132 /Ugrave put dup 8#133 /Ydieresis put dup 8#134 /Zcaron put dup 8#135 /aacute put dup 8#136 /acircumflex put dup 8#137 /adieresis put dup 8#140 /agrave put dup 8#141 /aring put dup 8#142 /atilde put dup 8#143 /ccedilla put dup 8#144 /eacute put dup 8#145 /ecircumflex put dup 8#146 /edieresis put dup 8#147 /egrave put dup 8#150 /iacute put dup 8#151 /icircumflex put dup 8#152 /idieresis put dup 8#153 /igrave put dup 8#154 /ntilde put dup 8#155 /oacute put dup 8#156 /ocircumflex put dup 8#157 /odieresis put dup 8#160 /ograve put dup 8#161 /otilde put dup 8#162 /scaron put dup 8#163 /uacute put dup 8#164 /ucircumflex put dup 8#165 /udieresis put dup 8#166 /ugrave put dup 8#167 /ydieresis put dup 8#170 /zcaron put pop /Enc-dict 30 dict def Enc-dict /tmpstr1 50 string put Enc-dict /tmpstr2 50 string put Enc-dict /tmpstr3 50 string dup (Encoding-) exch cvs pop put /AEnc-def { % arguments: the original font's name, encoding nr Enc-dict begin tmpstr2 cvs /Enc-no exch def % Remember the number in a string dup /OrigName exch def % remember the name findfont dup maxlength dict /newdict exch def % get dictionary for new font { exch dup /FID ne { exch newdict 3 1 roll put } { pop pop } % Ignore FID ifelse } forall newdict begin /Encoding tmpstr3 9 Enc-no putinterval tmpstr3 0 9 Enc-no length add getinterval cvn load def % Replace encoding currentdict /UniqueID known { /UniqueID UniqueID Enc-no cvi 49999 mul add def } if % Derive New UniqueID end % newdict /FNlength OrigName tmpstr1 cvs length def % convert name, remember length FNlength 1 add Enc-no length add string dup 0 OrigName tmpstr1 cvs putinterval dup FNlength (-) putinterval dup FNlength 1 add Enc-no putinterval dup 0 tmpstr1 0 FNlength getinterval putinterval % Add old name cvn dup newdict /FontName 3 2 roll put newdict definefont end % Enc-dict } def /Times-Roman 1 AEnc-def pop /R-1{/Times-Roman-1 FF}def /R{/Times-Roman FF}def /B{/Times-Bold FF}def /I{/Times-Italic FF}def /Y{/Symbol FF}def %%EndProlog %%Page: 1 1 BP /slant 0 def /height 0 def 480 V 10 R 720(SCANF)S 1053(\()S 1095(3)S 1153(\))S 2696(Eighth)S (Edition)296 2989 A 4794(SCANF)S 5127(\()S 5169(3)S 5227(\))S 960 V 9 R 720(N)S 722(NA)S 790(AM)S 858(ME)S 940(E)S 1080 V 10 R 1080(scanf,)S 1343(fscanf,)S 1640(sscanf,)S 1942(vscanf,)S 2255(vfscanf,)S 2602(vsscanf)S 10 R-1 2929(-)S 10 R 3011(formatted)S (input)206 3428 A (conversion)441 3659 A 1248 V 9 R 720(S)S 722(SY)S 774(YN)S 842(NO)S 910(OP)S 978(PS)S 1030(SI)S 1082(IS)S 1115(S)S 1368 V 10 B 1080(#include)S 1482()S 1488 V 1080(#include)S 1482()S 1728 V 1080(int)S 1236(scanf\(const)S 1756(char)S 1990(*)S 10 I 2040(format)S 10 R 2346([)S 10 B 2380(,)S 10 I 2443(pointer)S 10 R 2733(])S (...)75 2805 A 10 B 2880(\))S 1848 V 1080(int)S 1236(fscanf\(FILE)S 1801(*)S 10 I 1851(stream)S 10 B 2125(,)S 2188(const)S 2450(char)S 2684(*)S 10 I 2734(format)S 10 R 3040([)S 10 B 3074(,)S 10 I 3137(pointer)S 10 R 3427(])S (...)75 3499 A 10 B 3574(\))S 1968 V 1080(int)S 1236(sscanf\(const)S 1795(char)S 2029(*)S 10 I 2079(s)S 10 B 2118(,)S 2181(const)S 2443(char)S 2677(*)S 10 I 2727(format)S 10 R 3033([)S 10 B 3067(,)S 10 I 3130(pointer)S 10 R 3420(])S (...)75 3492 A 10 B 3567(\))S 2088 V 1080(int)S 1236(vscanf\(const)S 1806(char)S 2040(*)S 10 I 2090(format)S 10 B 2358(,)S (va_list)279 2421 A 10 I 2738(args)S 10 B 2916(\))S 2208 V 1080(int)S 1236(vfscanf\(FILE)S 1851(*)S 10 I 1901(stream)S 10 B 2175(,)S 2238(const)S 2500(char)S 2734(*)S 10 I 2784(format)S 10 B 3052(,)S (va_list)279 3115 A 10 I 3432(args)S 10 B 3610(\))S 2328 V 1080(int)S 1236(vsscanf\(const)S 1845(char)S 2079(*)S 10 I 2129(s)S 10 B 2168(,)S 2231(const)S 2493(char)S 2727(*)S 10 I 2777(format)S 10 B 3045(,)S (va_list)279 3108 A 10 I 3425(args)S 10 B 3603(\))S 2496 V 9 R 720(D)S 722(DE)S 790(ES)S 848(SC)S 900(CR)S 962(RI)S 1024(IP)S 1057(PT)S 1109(TI)S 1167(IO)S 1200(ON)S 1268(N)S 2616 V 10 B 1080(Scanf)S 10 R 1349(reads)S 1590(from)S 1814(the)S 1965(standard)S (input)206 2334 A 2568(stream)S 10 B 2865(stdin)S 10 R 3078(.)S 10 B 3156(Fscanf)S 10 R 3470(reads)S 3711(from)S 3936(the)S 4088(named)S (input)206 4385 A 10 I 4620(stream)S 10 R 4902(.)S 10 B 4981(Sscanf)S 2736 V 10 R 1080(reads)S 1328(from)S 1559(the)S 1717(character)S 2122(string)S 10 I 2385(s)S 10 R 2432(.)S 2516(Each)S 2752(function)S 3121(reads)S 3368(characters,)S 3837(interprets)S 4252(them)S (according)397 4487 A 4918(to)S 5030(a)S 5109(for-)S 2856 V 1080(mat,)S 1304(and)S 1497(stores)S 1780(the)S 1951(results)S 2262(in)S 2389(its)S 2533(arguments.)S 3051(Each)S 3302(expects)S 3653(as)S 3786(arguments)S 4254(a)S 4348(control)S 4682(string)S 10 I 4960(format)S 10 R 5236(,)S 2976 V 1080(described)S 1491(below,)S 1787(and)S 1957(a)S 2027(set)S 2164(of)S 10 I 2273(pointer)S 10 R 2588(arguments)S 3032(indicating)S 3459(where)S 3731(the)S (converted)397 3879 A (input)206 4301 A (should)267 4532 A 4824(be)S 4944(stored.)S 3144 V 1080(The)S 10 B 1264(v*scanf)S 10 R 1615(functions)S 2016(can)S 2183(be)S 2305(used)S 2517(to)S 2623(make)S 2869(functions)S 3271(like)S 3450(the)S 3601(\256rst)S 3786(three)S 4016(by)S 4144(using)S 4389(the)S 10 B 4540(stdarg)S 10 R 4814(\(3\))S (method)301 4960 A 3264 V 1080(to)S 1183(process)S 1510(the)S 1658(argument)S 2063(pointers.)S 3432 V 1080(The)S 1266(control)S 1580(string)S 1838(usually)S 2157(contains)S (conversion)441 2521 A 2991(speci\256cations,)S 3593(which)S 3868(are)S 4022(used)S 4236(to)S 4344(direct)S 4604(interpretation)S 5177(of)S 3552 V (input)206 1080 A 1311(sequences.)S 1794(The)S 1976(control)S 2286(string)S 2540(may)S 2738(contain:)S 3720 V 1080(1.)S 1280(Blanks,)S 1609(tabs)S 1796(or)S 1905(newlines,)S 2313(which)S 2584(match)S 2855(optional)S 3209(white)S (space)224 3458 A 3707(in)S 3810(the)S (input.)231 3958 A 3888 V 1080(2.)S 1280(An)S 1428(ordinary)S 1794(character)S 2190(\(not)S 2377(%\))S 2520(which)S 2791(must)S 3011(match)S 3282(the)S 3430(next)S 3628(character)S 4024(of)S 4133(the)S (input)206 4281 A 4512(stream.)S 4056 V 1080(3.)S (Conversion)463 1280 A 1768(speci\256cations,)S 2366(consisting)S 2798(of)S 2907(the)S 3055(character)S 10 B 3451(%)S 10 R 3551(,)S 3601(an)S 3721(optional)S 4075(assignment)S (suppressing)474 4553 A 5053(char-)S 4176 V 1280(acter)S 10 B 1502(*)S 10 R 1552(,)S 1602(an)S 1722(optional)S 2076(numerical)S 2504(maximum)S 2936(\256eld)S 3140(width,)S 3419(and)S 3589(a)S (conversion)441 3659 A 4125(character.)S 4344 V 1080(A)S (conversion)441 1180 A 1648(speci\256cation)S 2184(directs)S 2480(the)S (conversion)441 2630 A 3098(of)S 3209(the)S 3359(next)S (input)206 3559 A 3792(\256eld;)S 4026(the)S 4176(result)S 4427(is)S (placed)263 4522 A 4813(in)S 4919(the)S 5070(vari-)S 4464 V 1080(able)S 1277(pointed)S 1607(to)S 1714(by)S 1843(the)S (corresponding)575 1995 A 2599(argument,)S 3033(unless)S 3313(assignment)S (suppression)474 3794 A 4297(was)S 4483(indicated)S 4881(by)S 10 B 5010(*)S 10 R 5060(.)S 5138(An)S 4584 V (input)206 1080 A 1317(\256eld)S 1527(is)S 1625(de\256ned)S 1952(as)S 2067(a)S 2143(string)S 2403(of)S (non-space)408 2518 A 2957(characters;)S 3426(it)S 3513(extends)S 3851(to)S 3961(the)S 4116(next)S 4321(inappropriate)S 4890(character)S 4704 V 1080(or)S (until)184 1189 A 1398(the)S 1546(\256eld)S 1750(width,)S 2029(if)S 2116(speci\256ed,)S 2524(is)S 2616(exhausted.)S 4872 V 1080(The)S (conversion)441 1265 A 1734(character)S 2133(indicates)S 2519(the)S 2670(interpretation)S 3242(of)S 3355(the)S (input)206 3507 A 3742(\256eld;)S 3978(the)S (corresponding)575 4130 A 4734(pointer)S 5048(argu-)S 4992 V 1080(ment)S 1306(must)S 1526(usually)S 1841(be)S 1961(of)S 2070(a)S 2140(restricted)S 2541(type.)S 2789(The)S 2971(following)S (conversion)441 3387 A 3853(characters)S 4288(are)S 4437(legal:)S 5160 V 10 B 1080(%)S 10 R 1280(a)S 1350(single)S 1615(`%')S 1792(is)S 1884(expected)S 2267(in)S 2370(the)S (input)206 2518 A 2749(at)S 2847(this)S 3017(point;)S 3276(no)S 3401(assignment)S 3878(is)S (done.)220 3970 A 5328 V 10 B 1080(d)S 10 R 1280(a)S 1350(decimal)S 1694(integer)S 1999(is)S 2091(expected;)S 2502(the)S (corresponding)575 2650 A 3250(argument)S (should)267 3655 A 3947(be)S 4067(an)S 4187(integer)S 4492(pointer.)S 5496 V 10 B 1080(o)S 10 R 1280(an)S 1400(octal)S 1621(integer)S 1926(is)S 2018(expected;)S 2429(the)S (corresponding)575 2577 A 3177(argument)S (should)267 3582 A 3874(be)S 3994(a)S 4064(integer)S 4369(pointer.)S 5664 V 10 B 1080(x)S 10 R 1280(a)S 1350(hexadecimal)S 1884(integer)S 2189(is)S 2281(expected;)S 2692(the)S (corresponding)575 2840 A 3440(argument)S (should)267 3845 A 4137(be)S 4257(an)S 4377(integer)S 4682(pointer.)S 5832 V 10 B 1080(s)S 10 R 1280(a)S 1356(character)S 1758(string)S 2018(is)S 2116(expected;)S 2533(the)S (corresponding)575 2687 A 3293(argument)S (should)267 3704 A 4003(be)S 4130(a)S 4207(character)S 4610(pointer)S 4927(pointing)S 5952 V 1280(to)S 1394(an)S 1525(array)S 1769(of)S 1888(characters)S 2333(large)S (enough)295 2570 A 2900(to)S (accept)258 3013 A 3306(the)S 3464(string)S 3728(and)S 3908(a)S 3988(terminating)S 4487(`\\0',)S 4693(which)S (will)157 4974 A 5166(be)S 6072 V 1280(added.)S 1595(The)S (input)206 1777 A 2008(\256eld)S 2212(is)S 2304(terminated)S 2760(by)S 2885(a)S (space)224 2955 A 3204(character)S 3600(or)S 3709(a)S 3779(newline.)S 6240 V 10 B 1080(c)S 10 R 1280(a)S 1361(character)S 1768(is)S 1872(expected;)S 2295(the)S (corresponding)575 2455 A 3067(argument)S (should)267 3484 A 3788(be)S 3920(a)S 4002(character)S 4410(pointer.)S 4782(The)S 4976(normal)S 6360 V 1280(skip)S 1488(over)S (space)224 1708 A 1973(characters)S 2424(is)S (suppressed)441 2531 A 3012(in)S 3130(this)S 3315(case;)S 3557(to)S 3675(read)S 3889(the)S 4052(next)S (non-space)408 4265 A 4713(character,)S 5149(try)S 6480 V 1280(`%1s'.)S 1598(If)S 1693(a)S 1765(\256eld)S 1972(width)S 2229(is)S 2324(given,)S 2600(the)S (corresponding)575 2751 A 3354(argument)S (should)267 3762 A 4057(refer)S 4277(to)S 4383(a)S 4456(character)S 4855(array,)S 5116(and)S 6600 V 1280(the)S 1428(indicated)S 1822(number)S 2154(of)S 2263(characters)S 2698(is)S 2790(read.)S 6768 V 10 B 1080(efg)S 10 R 1280(a)S 1353(\257oating)S 1688(point)S 1922(number)S 2257(is)S 2352(expected;)S 2766(the)S 2917(next)S 3118(\256eld)S 3325(is)S (converted)397 3420 A (accordingly)475 3845 A 4348(and)S 4522(stored)S (through)312 4797 A 5138(the)S 6888 V (corresponding)575 1280 A 1885(argument,)S 2320(which)S (should)267 2595 A 2891(be)S 3015(a)S 3089(pointer)S 3403(to)S 3510(a)S 10 B 3584(\257oat)S 10 R 3774(.)S 3853(The)S (input)206 4039 A 4274(format)S 4572(for)S 4719(\257oating)S 5055(point)S 7008 V 1280(numbers)S 1658(is)S 1757(an)S 1884(optionally)S 2323(signed)S 2617(string)S 2879(of)S 2996(digits)S 3252(possibly)S 3619(containing)S 4076(a)S 4154(decimal)S 4506(point,)S 4770(followed)S 5161(by)S 7128 V 1280(an)S 1400(optional)S (exponent)368 1754 A 2147(\256eld)S 2351(consisting)S 2783(of)S 2892(an)S 3012(E)S 3099(or)S 3208(e)S 3278(followed)S 3661(by)S 3786(an)S 3906(optionally)S 4338(signed)S 4625(integer.)S 7296 V 10 B 1080([)S 10 R 1280(indicates)S 1667(a)S 1741(string)S 1999(not)S 2156(to)S 2263(be)S 2387(delimited)S 2796(by)S (space)224 2925 A 3178(characters.)S 3667(The)S 3853(left)S 4018(bracket)S 4345(is)S 4442(followed)S 4830(by)S 4960(a)S 5035(set)S 5177(of)S 7416 V 1280(characters)S 1719(and)S 1893(a)S 1967(right)S 2186(bracket;)S 2540(the)S 2692(characters)S 3131(between)S 3496(the)S 3648(brackets)S 4013(de\256ne)S 4288(a)S 4362(set)S 4503(of)S 4616(characters)S 5054(mak-)S 7536 V 1280(ing)S 1440(up)S 1572(the)S 1727(string.)S 2038(If)S 2138(the)S 2293(\256rst)S 2482(character)S 2885(is)S 2984(not)S 3144(circum\257ex)S 3607(\()S 3657(\303)S 3707(\),)S 3798(the)S (input)206 3953 A 4191(\256eld)S 4402(is)S 4501(all)S 4634(characters)S (until)184 5077 A 7903 V 720(Page)S 941(1)S 2669(\()S 2711(May)S 2920(15,)S (1985)200 3070 A 3278(\))S 4455(September)S 4911(13,)S (1996)200 5061 A 8143 V EP %%Page: 2 2 BP /slant 0 def /height 0 def 480 V 10 R 720(SCANF)S 1053(\()S 1095(3)S 1153(\))S 2696(Eighth)S (Edition)296 2989 A 4794(SCANF)S 5127(\()S 5169(3)S 5227(\))S 960 V 1280(the)S 1429(\256rst)S 1612(character)S 2009(not)S 2163(in)S 2267(the)S 2416(set)S 2554(between)S 2916(the)S 3065(brackets;)S 3455(if)S 3543(the)S 3691(\256rst)S 3873(character)S 4269(after)S 4480(the)S 4628(left)S 4788(bracket)S 5110(is)S 5202(\303,)S 1080 V 1280(the)S (input)206 1434 A 1671(\256eld)S 1881(is)S 1979(all)S 2111(characters)S (until)184 2552 A 2767(the)S 2921(\256rst)S 3109(character)S 3511(which)S 3788(is)S 3886(in)S 3996(the)S 4151(remaining)S 4591(set)S 4735(of)S 4851(characters)S 1200 V 1280(between)S 1641(the)S 1789(brackets.)S 2200(The)S (corresponding)575 2382 A 2982(argument)S 3387(must)S 3607(point)S 3838(to)S 3941(a)S 4011(character)S 4407(array.)S 1368 V 1080(The)S (conversion)441 1269 A 1742(characters)S 10 B 2184(d)S 10 R 2240(,)S 10 B 2297(o)S 10 R 2379(and)S 10 B 2556(x)S 10 R 2638(may)S 2843(be)S 2970(capitalized)S 3439(or)S (preceded)364 3555 A 3951(by)S 10 B 4083(l)S 10 R 4143(to)S 4253(indicate)S 4604(that)S 4787(a)S 4865(pointer)S 5183(to)S 1488 V 10 B 1080(long)S 10 R 1290(rather)S 1552(than)S 1751(to)S 10 B 1855(int)S 10 R 1999(is)S 2092(in)S 2196(the)S 2345(argument)S 2751(list.)S 2950(Similarly,)S 3376(the)S (conversion)441 3525 A 3992(characters)S 10 B 4428(e)S 10 R 4473(,)S 10 B 4524(f)S 10 R 4584(or)S 10 B 4694(g)S 10 R 4769(may)S 4967(be)S 5087(cap-)S 1608 V 1080(italized)S 1405(or)S (preceded)364 1517 A 1909(by)S 10 B 2037(l)S 10 R 2093(to)S 2199(indicate)S 2546(a)S 2619(pointer)S 2932(to)S 10 B 3038(double)S 10 R 3357(rather)S 3621(than)S 3822(to)S 10 B 3928(\257oat)S 10 R 4118(.)S 4196(The)S (conversion)441 4381 A 4851(characters)S 1728 V 10 B 1080(d)S 10 R 1136(,)S 10 B 1186(o)S 10 R 1261(and)S 10 B 1431(x)S 10 R 1506(may)S 1704(be)S (preceded)364 1824 A 2213(by)S 10 B 2338(h)S 10 R 2419(to)S 2522(indicate)S 2866(a)S 2936(pointer)S 3246(to)S 10 B 3349(short)S 10 R 3598(rather)S 3859(than)S 4057(to)S 10 B 4160(int)S 10 R 4278(.)S 1896 V 1080(The)S 10 B 1267(scanf)S 10 R 1521(functions)S 1925(return)S 2196(the)S 2349(number)S 2686(of)S (successfully)492 2801 A 3324(matched)S 3696(and)S 3872(assigned)S (input)206 4249 A 4486(items.)S 4785(This)S 4995(can)S 5166(be)S 2016 V 1080(used)S 1301(to)S 1415(decide)S 1714(how)S 1923(many)S (input)206 2182 A 2424(items)S 2678(were)S (found.)259 2911 A 3231(The)S 3424(constant)S 9 B 3793(EOF)S 10 R 4015(is)S 4118(returned)S (upon)200 4490 A 4726(end)S 4907(of)S (input;)234 5027 A 2136 V 1080(note)S 1302(that)S 1502(this)S 1696(is)S 1812(different)S 2209(from)S 2454(0,)S 2578(which)S 2873(means)S 3179(that)S 3380(no)S (conversion)441 3530 A 4021(was)S (done;)223 4228 A 4501(if)S (conversion)441 4613 A 5104(was)S 2256 V 1080(intended,)S 1476(it)S 1557(was)S 1739(frustrated)S 2151(by)S 2276(an)S 2396(inappropriate)S 2958(character)S 3354(in)S 3457(the)S (input.)231 3605 A 2424 V 1080(For)S 1245(example,)S 1636(the)S 1784(call)S 2592 V 1580(int)S 1711(i;)S 1792(\257oat)S 1996(x;)S 2099(char)S 2298(name[50];)S 2712 V 1580(scanf\("%d%f%s",)S 2334(&i,)S 2490(&x,)S 2668(name\);)S 2880 V 1080(with)S 1284(the)S (input)206 1432 A 1663(line)S 3048 V 1440(25)S 1615(54.32E)S 10 Y 1902(-)S 10 R 1957(1)S 2057(thompson)S 3216 V (will)157 1080 A 1262(assign)S 1538(to)S 10 B 1641(i)S 10 R 1694(the)S 1842(value)S 2085(25,)S 10 B 2235(x)S 10 R 2310(the)S 2458(value)S (5.432,)250 2701 A 2976(and)S 10 B 3146(name)S 10 R (will)157 3406 A 3588(contain)S 3909(`)S 10 B 3943(thompson\\0)S 10 R 4446(')S 4505(.)S 4580(Or,)S 3384 V 1440(int)S 1571(i;)S 1652(float)S 1862(x;)S 1965(char)S 2164(name[50];)S 3504 V (scanf\("%2d%f%*d%[1234567890]",)1492 1440 A 2957(&i,)S 3113(&x,)S 3291(name\);)S 3672 V 1080(with)S (input)206 1284 A 3840 V (56789)250 1440 A (0123)200 1715 A 1940(56a72)S 4008 V (will)157 1080 A 1278(assign)S 1570(56)S 1711(to)S 10 B 1830(i)S 10 R 1858(,)S (789.0)225 1924 A 2190(to)S 10 B 2309(x)S 10 R 2359(,)S 2425(skip)S (`0123',)293 2633 A 2968(and)S (place)213 3155 A 3410(the)S 3575(string)S 3846(`56\\0')S 4134(in)S 10 B 4254(name)S 10 R 4489(.)S 4581(The)S 4780(next)S 4995(call)S 5183(to)S 4128 V 10 B 1080(getchar)S 10 R (will)157 1430 A 1612(return)S 1878(`a'.)S 4296 V 9 R 720(S)S 722(SE)S 774(EE)S 832(E)S 913(A)S 915(AL)S 983(LS)S 1041(SO)S 1093(O)S 4416 V 10 B 1080(atof)S 10 R 1248(\(3\),)S 10 B 1416(getc)S 10 R 1590(\(3\),)S 10 B 1758(printf)S 10 R 2011(\(3\),)S 10 B 2179(stdarg)S 10 R 2453(\(3\).)S 4584 V 9 R 720(D)S 722(DI)S 790(IA)S 823(AG)S 891(GN)S 959(NO)S 1027(OS)S 1095(ST)S 1147(TI)S 1205(IC)S 1238(CS)S 1300(S)S 4704 V 10 R 1080(The)S 10 B 1262(scanf)S 10 R 1511(functions)S 1910(return)S 9 B 2174(EOF)S 10 R 2385(on)S 2510(end)S 2680(of)S (input,)231 2789 A 3045(and)S 3215(a)S 3285(short)S (count)223 3511 A 3759(for)S 3902(missing)S 4239(or)S (illegal)252 4348 A 4625(data)S 4818(items.)S 4872 V 9 R 720(B)S 722(BU)S 784(UG)S 852(GS)S 920(S)S 4992 V 10 R 1080(The)S (success)302 1262 A 1589(of)S (literal)236 1698 A 1959(matches)S 2314(and)S (suppressed)441 2484 A 2950(assignments)S 3466(is)S 3558(not)S 3711(directly)S 4044(determinable.)S 7903 V 720(September)S 1176(13,)S (1996)200 1326 A 2669(\()S 2711(May)S 2920(15,)S (1985)200 3070 A 3278(\))S 4990(Page)S 5211(2)S 8143 V EP %%Trailer %%DocumentFonts: Times-Roman Times-Bold Times-Italic Symbol %%Pages: 2