From: Vic 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 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk 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)