DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR C
c in to str
char str[(int)((ceil(log10(num))+1)*sizeof(char))]; sprintf(str, "%d", 42);
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#str
ADD COMMENT
Topic
COMMENT
Name
7+9 =
Submit