Top "Itoa" questions

Questions about itoa function may have this tag.

Alternative to itoa() for converting integer to string C++?

I was wondering if there was an alternative to itoa() for converting an integer to a string because when I …

c++ integer stdstring itoa
gcc error : undefined reference to `itoa'

if I include stdlib.h then also itoa() is not recognized. My code : %{ #include "stdlib.h" #include <stdio.h&…

gcc itoa
Reversing a string with strrev - C

I'm trying to reverse a string using the function strrev(). I know that strrev returns a pointer to the reversed …

c string itoa
C Error: undefined reference to '_itoa'

I'm trying to convert an integer to a character to write to a file, using this line: fputc(itoa(size, …

c itoa
Convert integer to string without access to libraries

I recently read a sample job interview question: Write a function to convert an integer to a string. Assume you …

c string int type-conversion itoa
itoa function problem

I'm working on Eclipse inside Ubuntu environment on my C++ project. I use the itoa function (which works perfectly on …

c++ portability itoa
convert int to char* in standard C (without itoa)

I have declared and initialized two variables as shown below: int a=5; char* str; str = (char*)calloc(255, sizeof(char)); I …

c char int itoa
converting number to string in lisp

I tried to find a lisp function to convert between numbers and strings and after a little googling I fond …

lisp common-lisp itoa
What is the difference between _itoa and itoa?

Visual Studio is yelling at me about using itoa() saying to use _itoa() instead? It looks to me like they …

c++ c visual-studio itoa
'itoa': The POSIX name for this item is deprecated

I'm trying to convert an int into a string by doing this: int id = 12689; char snum[MAX]; itoa(id, snum, 10); …

c itoa