From: Andrew Crabtree Message-Id: <199802251839.AA047921944@typhoon.rose.hp.com> Subject: Re: Some easy questions (for you!) To: pginkel AT westbrabant DOT net (Pieter van Ginkel) Date: Wed, 25 Feb 1998 10:39:04 PST Cc: djgpp AT delorie DOT com In-Reply-To: <01bd41f9$31d2c280$cd2f86c2@pieter>; from "Pieter van Ginkel" at Feb 25, 98 3:25 pm Reply-To: andrewc AT rosemail DOT rose DOT hp DOT com Precedence: bulk > >Nils Emil P. Larsen wrote in message > >> Int1 = Str1 /* Int1 must contain the number in Str1 */ > >No can do. > Yes, can do. Just use atoi or atof from STDLIB.H (i think). My assumption from reading his message was that str1 would contain a string such as "Number is 10" and he wanted a routine that just extracted the "10" from it. If the string just contains a number then you are correct. Andy