On Wed, 10 Nov 1999, you wrote:
> On Tue, 9 Nov 1999, Adi Chandra wrote:
<cleared>
> :-) else
> :-) { /* nah disini MUlai Trouble */
> :-) fseek(fp,0,0);
> :-) a=-1;b=0;
> :-) do
> :-) {
> :-) a++;
> :-) fgets(buff,80,fp); /* ambil string per baris */
>
> --> Kayaknya disini harus diperiksa pointer fp nya apa udah eof ato belum:
> if(feof(fp)) break;
mulai dari do diubah jadi:
while (fgets(buff,80,fp) {
a++;
tok1=strtok(buff, ..........
......
printf(...................
}
<cleared>
komentar:
mendingan pake perl :-)
--
The nice thing about Windows is - It does not just crash, it displays a
dialog box and lets you press 'OK' first.
(Arno Schaefer's .sig)
--------------------------------------------------------------------------------
Utk berhenti langganan, kirim email ke [EMAIL PROTECTED]
Informasi arsip di http://www.linux.or.id/milis.php3
Pengelola dapat dihubungi lewat [EMAIL PROTECTED]