Re: convert int to string without using standard library (stdio.h)
- From: "Old Wolf" <oldwolf@xxxxxxxxxxxxxx>
- Date: 17 Jul 2006 20:16:15 -0700
ceeques wrote:
Hi
I am a novice in C. Could you guys help me solve this problem -
I need to convert integer(and /short) to string without using sprintf
(I dont have standard libray stdio.h).
for instance:-
int i =2;
char ch 'A'
My result should be a string ==> "A2"
Double check that you don't have sprintf in your system libraries
(even if perhaps you don't have the header for it). Also, look for
'itoa' in your system libraries.
If not, download a public domain implementation of sprintf.
.
- References:
- Prev by Date: Re: How to write a small graceful gcd function?
- Next by Date: Re: convert int to string without using standard library (stdio.h)
- Previous by thread: Re: convert int to string without using standard library (stdio.h)
- Next by thread: error when rename pointer names
- Index(es):
Relevant Pages
|