delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/03/05:30:50

From: "Oliver Batchelor" <batch AT netaccess DOT co DOT nz>
Newsgroups: comp.os.msdos.djgpp
Subject: input read function !!!!?????? and string to float !!!!!!!!!??????
Date: 3 Aug 1998 09:17:14 GMT
Organization: http://www.supernews.com, The World's Usenet: Discussions Start Here
Lines: 17
Message-ID: <01bdbebf$2f36e680$bf0562cb@default>
NNTP-Posting-Host: 203.98.5.191
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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)

and the user types in a string on the keyboard. like 1234.  It shows it on
the screen as the user types it and after the  string hello = "1234"

also does anyone have a function to convert a string number to a float
variable ??


thanks,
Oliver Batchelor

- Raw text -


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