|
|
вернуться в форумI use Pascal for Spell Checker problem how can i read input , show me some sample code please Послано Badd 9 янв 2002 18:58 Re: I use Pascal for Spell Checker problem how can i read input , show me some sample code please Read characters; Use EOF (Input) to see if you have reached the end of the input. Re: I use Pascal for Spell Checker problem how can i read input , show me some sample code please // how about EOF? i use this code and i got crash help me please. Послано Badd 10 янв 2002 09:15 > Read characters; > Use EOF (Input) to see if you have reached the end of the input. > var ctemp : char; begin read(ctemp); while (ctemp<>#0) do begin check; read(ctemp); end; end. Re: I use Pascal for Spell Checker problem how can i read input , show me some sample code please // how about EOF? i use this code and i got crash help me please. While not EOF (Input) Do Begin While not EoLn (Input) Do Read(c); Readln; End; This should help. Good luck. |
|
|