convert int to string without using standard library (stdio.h)
- From: "ceeques" <cquestions@xxxxxxxxx>
- Date: 17 Jul 2006 15:06:51 -0700
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"
Results are not going to a standard output - I have a function to
readout/display string from memory.
Thanks,
cQ
.
- Follow-Ups:
- Re: convert int to string without using standard library (stdio.h)
- From: Old Wolf
- Re: convert int to string without using standard library (stdio.h)
- From: websnarf
- Re: convert int to string without using standard library (stdio.h)
- From: pete
- Re: convert int to string without using standard library (stdio.h)
- From: Peter Nilsson
- Re: convert int to string without using standard library (stdio.h)
- From: spibou
- Re: convert int to string without using standard library (stdio.h)
- Prev by Date: Re: Newbie question - displaying trivia questions at random
- Next by Date: error when rename pointer names
- Previous by thread: Re: A debugging implementation of malloc
- Next by thread: Re: convert int to string without using standard library (stdio.h)
- Index(es):
Relevant Pages
|