Gunawan Wibisono. Rumah Sakit Internasional Bintaro Jl. M.H Thamrin Blok B3 No. 1 Sektr 7, Kawasan Niaga - Bintaro Jaya, Tangerang 15224
NOTICE: CONFIDENTIAL COMMUNICATION This e-mail message and any accompanying files may contain information that is confidential and subject to privilege. If you are not the intended recipient, and have received the e-mail in error, you are notified that any use, dissemination, distribution, forwarding, printing or copying of the message and any attached files is strictly prohibited. If you have received this e-mail message in error please immediately advise the sender by return e-mail, or telephone, listed below. You must destroy the original transmission and its contents. Any views expressed within this communication are those of the individual sender, except where the sender specifically states them to be the views of Ramsay Health Care. This communication should not be copied or disseminated without permission. ----- Original Message ----- From: "Donny Kurnia" <[EMAIL PROTECTED]> To: <tanya-jawab@linux.or.id> Sent: Wednesday, December 13, 2006 6:28 PM Subject: Re: [tanya-jawab] "Segmentation Fault" > Muhfi Asbin Sagala wrote: > > saya coba meng-kompile source code bahasa C dengan GCC. Program-nya > > dapat berjalan dan meminta input berupa angka, tapi setelah saya > > masukkan input angka, programnya berhenti dan keluar bacaan > > "Segmentation Fault" > > > > Kira2 apa masalah saya? > > mohon pencerahan > > Thanks > > > > Segmentation Fault biasa muncul karena penggunaan variabel yang belum > dialokasikan terlebih dahulu. Pointer harus menunjuk ke alamat memory > yang telah dialokasikan (pake malloc, calloc, dll), baru bisa menyimpan > data. > > Bisa disertakan potongan kode yang kira2 menyebabkan hal itu? > > Btw, masalah seperti ini lebih baik dibahas di milis linux-programming maaf pak, bukannya menyalahkan jawaban anda saya jg mengalami hal yang sama padahal cuma perintah echo-echo .. mungkin ada penjelasan lain?? -- FAQ milis di http://wiki.linux.or.id/FAQ_milis_tanya-jawab Unsubscribe: kirim email ke [EMAIL PROTECTED] Arsip dan info milis selengkapnya di http://linux.or.id/milis