Top "Atoi" questions

atoi() is the C runtime library function for converting the ASCII representation of a number to an integer.

like atoi but to float

Is there a function similar to atoi which converts a string to float instead of to integer?

c++ casting atoi
Can't make atoi take in a string (string vs. C-string?)

I have read a line from a file and I am trying to convert it to an int. For some …

c++ string file-io atoi
Non-Integer numbers in an String and using atoi

If there are non-number characters in a string and you call atoi [I'm assuming wtoi will do the same]. How …

c++ c math atoi
NASM Assembly convert input to integer?

Ok, so I'm fairly new to assembly, infact, I'm very new to assembly. I wrote a piece of code which …

assembly x86 char nasm atoi
C++ - error while using atoi

I am trying to use the atoi function in order to obtain conversion from string to int. The thing is …

c++ atoi
Where did the name `atoi` come from?

In the C language where did they come up with the name atoi for converting a string to an integer? …

c naming-conventions atoi
Return value of atoi (argv[1]) is always 0

I'm running into a problem about return value of atoi(). I want to convert the char in command line argument …

c argv atoi
Understanding an atoi() function

I'm a python programmer getting to learn C from the K&R book. This will seem like an awfully …

c atoi
function opposite to atoi()?

I would like to convert an integer to a string like: int a = 12345 coverts to char b[6] = "12345" basically the opposite …

c atoi
C - Comparing numeric strings

Out of professional curiosity, what is the safest / fastest / most efficient way to compare two fully numeric strings in C? #…

c strcmp atoi strtol