Connecting Tech Pros Worldwide Forums | Help | Site Map

converting string to int in turbo c

Newbie
 
Join Date: Oct 2007
Posts: 1
#1: Oct 9 '07
sir,
there is a inbuild function to convert into int to string which is itoa,
but i want to know reverse of inbuild function ... is it possible or not?
thanking you

Lives Here
 
Join Date: Sep 2006
Posts: 12,070
#2: Oct 9 '07

re: converting string to int in turbo c


Quote:

Originally Posted by sujit kumar

sir,
there is a inbuild function to convert into int to string which is itoa,
but i want to know reverse of inbuild function ... is it possible or not?
thanking you

Moved to C/C++ forum.
Please use the bugs forum only for reporting bugs and making suggestions.
sicarie's Avatar
Moderator
 
Join Date: Nov 2006
Location: USA
Posts: 3,929
#3: Oct 9 '07

re: converting string to int in turbo c


Quote:

Originally Posted by sujit kumar

sir,
there is a inbuild function to convert into int to string which is itoa,
but i want to know reverse of inbuild function ... is it possible or not?
thanking you

Yes, the reverse function is atoi() :)
Reply