Advertisement

1 - 10 of 26 containing alltags:("itoa") (0.001 seconds)
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...
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 ) {   ...
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...
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...
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...
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 ...
Zones: MS Visual C++Date Answered: 12/22/2006 Grade: A Views: 4
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( )     ...
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...
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...
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 ...
Zones: Windows MFCDate Answered: 07/10/2000 Grade: A Views: 5