From: Enver ALTIN (enver.altin@frontsite.com.tr)
Date: Mon 12 May 2003 - 23:09:08 EEST
On Mon, 2003-05-12 at 20:40, Arman Aksoy wrote:
> # include <stdio.h>
> int main() {
> char mesaj[255];
> scanf("%s", mesaj);
> printf("%s\n", mesaj);
> return 0;
> }
> Klavyeden bosluk karakterini girdigimde bosluktan onceki kisim aliniyor
> sadece.=20
> DipSoru: Duyduguma gore scanf() yeterince guvenli degilmis. Buna=20
> alternatif kullanabilecegim bir fonk. var mi?
gets()
-- -------------------------------------------------------------------- Enver ALTIN (a.k.a. skyblue) - enver.altin@frontsite.com.tr Software developer, IT consultant frontsite Bilgi Teknolojisi A.S. tel: +90 212 222 68 42 - 63 fax: +90 212 222 68 35 -------------------------------------------------------------------- -- Attached file included as plaintext by Ecartis -- -- File: signature.asc -- Desc: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQA+v/9ibBGEy3UvbLoRAqetAJ9R2EHLZh3xMNH8YgCMbABm6kyHDQCgzUyQ QQ30Xt/LefcQx/zwW74Nax4= =9aZm -----END PGP SIGNATURE-----