delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/03/22:54:23

Message-ID: <000701bdbf52$51f24fa0$031f1bc4@enterprise-z>
From: "=?iso-8859-1?Q?Jorge_Iv=E1n_Meza_Mart=EDnez?=" <jimeza AT usa DOT net>
To: "Vic" <tudor AT cam DOT org>, <djgpp AT delorie DOT com>
Subject: Re: input read function !!!!?????? and string to float !!!!!!!!!??????
Date: Mon, 3 Aug 1998 20:02:04 -0500
MIME-Version: 1.0

>> Does any one know of a function  that I could use to input a string ??
>>
>> eg.
>> char hello[50];
>>
>> readln(hello);         (as it is in pascal)
>
>scanf()

check the reading of a string with "scanf( ... )" because, at least with BC,
it only takes chars until a blank space; from "come galletas" only take
"come", that is why I suggested "fgets ( ... )  from stdio.h" " but I have
not test it with DJGPP.

Jorge Iván Meza Martínez
jimeza AT usa DOT net
http://members.xoom.com/THP


-----Original Message-----
From: Vic <tudor AT cam DOT org>
Newsgroups: comp.os.msdos.djgpp
To: djgpp AT delorie DOT com <djgpp AT delorie DOT com>
Date: Lunes, 03 de Agosto de 1998 09:10 a.m.
Subject: Re: input read function !!!!?????? and string to float
!!!!!!!!!??????


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019