inverse of atoi, atof.....

This is a discussion on inverse of atoi, atof..... within the C Programming forums, part of the General Programming Boards category; Hi, does anybody knows any library function wich get a string as parameter and returns the corresponding integer or float ...

  1. #1
    Registered User
    Join Date
    Sep 2001
    Posts
    5

    Question inverse of atoi, atof.....

    Hi, does anybody knows any library function wich get a string as parameter and returns the corresponding integer or float or any numeric type ?
    I 'm working on Aix C plataform.

    Thanks in advance.

  2. #2
    Skunkmeister Stoned_Coder's Avatar
    Join Date
    Aug 2001
    Posts
    2,572
    look up in your favourite text,help files etc...

    atof()
    atoi()
    atol()
    atoll()
    strtod()
    strtof()
    strtol()
    and others too.
    Free the weed!! Class B to class C is not good enough!!
    And the FAQ is here :- http://faq.cprogramming.com/cgi-bin/smartfaq.cgi

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Having trouble with atoi
    By NewbGuy in forum C Programming
    Replies: 2
    Last Post: 05-23-2009, 12:55 AM
  2. Num to String? (atoi inverse)
    By hajas in forum C Programming
    Replies: 4
    Last Post: 06-22-2007, 04:22 PM
  3. problem with atof
    By ssharish in forum C Programming
    Replies: 17
    Last Post: 03-24-2005, 07:53 AM
  4. help with this
    By tyrantil in forum C Programming
    Replies: 18
    Last Post: 01-30-2005, 04:53 PM
  5. how do atof, atoi, and atol work?
    By jverkoey in forum C++ Programming
    Replies: 2
    Last Post: 04-24-2003, 10:25 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21