Has anybody heard of a problem with _itoa? I have a randommly occuring problem. I can pass an integer into _itoa and ever so often buffer will hold "0". If I check this value and try again it wi...
http://www.experts-exchange.com/Programming/System/Windows__Programming/MFC/Q_20092905.htm...
Zones:
Windows MFCDate Answered: 03/18/2001 Grade: A Views: 0
Hi All,
I'm using a simple program to test itoa() function in Red Hat 6.2. The program as follow:
////////test.c/////////////////
#include <stdio.h>
#include <stdlib.h>
int main( void )
{
...
http://www.experts-exchange.com/Programming/Programming_Platforms/Linux_Programming/Q_2014...
Zones:
Linux DevDate Answered: 06/25/2002 Grade: A Views: 379
I am writing an assembler for a fictional computer (SIC/XE), and I am trying to use itoa for converting an integer to an array. The problem is that I am including the stdlib library, but the compi...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_20421323.html
Zones:
C++Date Answered: 12/10/2002 Grade: A Views: 5
Hi i'm having problem converting int[x] to char C
here is the code
OctalString::OctalString(int i)
{
int ct[100];
char c[100];
int index = 0;
int div = 0;
int rem = 0;
char RR;
div = i...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_20713042.html
Zones:
C++Date Answered: 08/19/2003 Grade: B Views: 0
I don't know if there is a better approach to do this but i usually convert an int to string like this (if there is a better way plz let me know :)
int i;
char buffer [33];
_itoa_s (i,buffer,1...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_21646147.html
Zones:
C++Date Answered: 11/29/2005 Grade: A Views: 9
Hi,
I have difficulty in understanding the use of variable radix in function _itoa_s available in <stdlib.h>. I copy and paste code snippet and its output from MSDN below. Could someone please ...
http://www.experts-exchange.com/Programming/Languages/.NET/Visual_CPP/Q_22100784.html
Hi Experts,
I am trying to convert a int to a string using itoa.
I included stdlib.h ( Though I am using C++ )
When I call atoi( ) It successfully compiles, but gives error for itoa( )
...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_22116444.html
Zones:
C++Date Answered: 01/09/2007 Grade: A Views: 0
I'm looking for a standard function to do integer-to-string conversion. The comp.lang.c FAQ says to just use sprintf, but I'd rather live without that cruft. I could swear I found just such a fun...
http://www.experts-exchange.com/Programming/Languages/C/Q_10022955.html
Zones:
CDate Answered: 09/08/1997 Grade: C Views: 46
This itoa is strange.
if i use strcpy(test,_itoa(n,"",10));
Strange effect occured.
For example if i use debug mode everthing is okey.
When i use Release mode garbage of n is copied to itself.
like...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_10074214.html
Zones:
C++Date Answered: 08/21/1998 Grade: B Views: 0
Hi,
What is the difference of char*,CString & char[30]?
for example, if I want to use the itoa(..) function...
I need to delcare char temp[30];
itoa(1234, temp,10);
but I cannot use ...
http://www.experts-exchange.com/Programming/System/Windows__Programming/MFC/Q_10648361.htm...
Zones:
Windows MFCDate Answered: 07/10/2000 Grade: A Views: 5