| www.delorie.com/archives/browse.cgi | search | 
| From: | Vic <tudor AT cam DOT org> | 
| Newsgroups: | comp.os.msdos.djgpp | 
| Subject: | Re: input read function !!!!?????? and string to float !!!!!!!!!?????? | 
| Date: | Mon, 03 Aug 1998 19:34:16 -0400 | 
| Organization: | Communications Accessibles Montreal, Quebec Canada | 
| Lines: | 19 | 
| Message-ID: | <35C648F8.5C39@cam.org> | 
| References: | <01bdbebf$2f36e680$bf0562cb AT default> | 
| NNTP-Posting-Host: | dialup-845.hip.cam.org | 
| Mime-Version: | 1.0 | 
| To: | djgpp AT delorie DOT com | 
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp | 
Oliver Batchelor wrote: > > 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() > also does anyone have a function to convert a string number to a float > variable ?? atof() all of these are standard C, you should at least be familiar with the language (it's not like scanf is a complex thing, it's one of the first things you learn)
| webmaster | delorie software privacy | 
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |