|
-
December 2nd, 2000, 06:03 PM
#1
function to convert string (in hex format) to int?
i know there is a function convert a string in hex format (i.e. "0x00ff0000") into an int. but i'm on linux now and don't have my beloved msdn to help me! could someone please give me the function declaration, what header file its declared in, and what libaray its defined in? thank you. also, are there any good message boards for linux programming? or linux questions in general? making the transition from windows developement to linux developement is tough...=( thank you for your help.
-christopher bottaro
[email protected]
[email protected]
[email protected]
-
December 2nd, 2000, 09:50 PM
#2
Re: function to convert string (in hex format) to int?
Hi,
#include <stdlib.h>
char *_itoa( int value, char *string, int radix );// Convert an integer to a string
char *_ltoa( long value, char *string, int radix );// Convert a long integer to a string
Tell me if that help.
Regards,
Emi.
Regards,
Emanuel Vaduva
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|