Register | Sing In

New posts

Stacks in C programming Linked Lists in C programming File Input/Output in C programming Check prime numbers in C Programming C Programming Enumeration C Programming Union

Archives

2013-10 2013-09 2013-08

String-Conversion Functions stdlib.h

September 8, 2013 Posted by: GPA Views: 1537 0 comments

<stdlib.h> library includes functions that allow to convert strings of digits to integer and floating-point values.

Function  Description

double atof(const char *inputString); 

Converts the input string inputString to double.
int atoi( const char * inputString );
Converts the input string inputString to int.
long atol( const char *inputString );
Converts the input string inputString to long int.
double strtod(const char *inputString, char **endinputString );
Converts the input string inputString to double.
long strtol(const char *inputString, char **endinputString, int base );
Converts the input string inputString to long.
unsigned long strtoul(const char *inputString, char **endinputString, int base );
Converts the input string inputString to unsigned long

0 Comments...

Leave a Reply

Please, Sing In to leave a Reply for this material.



Online Chat

LiveZilla Live Help

Popular posts

Function strtok in C programming Check prime numbers in C Programming C Programming Union Linked Lists in C programming File Input/Output in C programming C Programming Enumeration

RSS-subscribe

New materials

Subscribe