Ok thanks, kemaren nyoba yang di bawah ini dan bisa :

[EMAIL PROTECTED] tout]$ locate conio.h
/usr/lib/bcc/include/conio.h

[EMAIL PROTECTED] tout]$gcc greedy.c -I /usr/lib/bcc/include/ -o greedy

Cuma katanya (dari man page):
It is dangerous to specify a standard system include directory in
an -I option.  This defeats the special treatment of system
headers. It can also defeat the repairs to buggy system headers which
GCCmakes when it is installed.

Mau tanya lagi.
Meskipun conio.h sudah dikenali, tapi kok clrscr() gak bisa dipakai ya
?

[EMAIL PROTECTED] tout]$ gcc greedy.c -I /usr/lib/bcc/include/ -o
greedy
/tmp/ccEc6dB0.o: In function `main':
/tmp/ccEc6dB0.o(.text+0x131): undefined reference to `clrscr'
collect2: ld returned 1 exit status

Nah yang jalan itu kalau clrscr() itu saya comment, kenapa ya ?

Thanks
aqil

Pada 22-Dec-2003, Ivan Petrus menulis:
> Umm...coba dibikin shortcutnya.
> 
> # ln -sf /usr/lib/bcc/include/conio.h /usr/include/conio.h
> 
> -Ivan-

-- 
Berhenti langganan: [EMAIL PROTECTED]
Arsip dan info: http://linux.or.id/milis.php

Kirim email ke