From: Ian Chapman Newsgroups: comp.os.msdos.djgpp Subject: Re: HOW I CAN CONVERT STRING TO INT Date: Mon, 10 May 1999 14:19:16 -0400 Organization: Nortel Lines: 33 Message-ID: <37372324.EAB024BF@nortelnetworks.com> References: <37367C16 DOT 4136 AT hotmail DOT com DOT br> NNTP-Posting-Host: bcarib90.ca.nortel.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.51 [en] (Win95; I) X-Accept-Language: en To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com #include long strtol(const char *s ,char **endp, int base); double strtod(const char *s, char **endp); std lib functions in any c text. Regards Ian. "A.L.A. Corp. / A.S.A. Inc." wrote: > > I need this information.. > > I'd like convert strings to interager!! > > example > > main() > { > char comand[50]; > > enter_char(); /// function to get keys of keyboard > > comando="anything 1234" > > check_sintaxe(); // function to separete strings > > comando_1="anything" > comando_2="1234" > > Is.. here! how convert comando_2 as string to interager int..?? > > } > > please.. help me for a workhome of my university..!!