To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / 1150
1149  |  1151
Subject: 
Re: Convert Integer to String
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Mon, 12 Jun 2000 16:53:03 GMT
Viewed: 
1209 times
  
K&R has a very simple itoa implementation that you can copy if LegOS's
libc doesn't already have itoa.

alex

"Michael Marklew" <mike@idl.net.au> wrote in message
news:Fw13p2.5yq@lugnet.com...
I am having an anoying problem. I want to format a string made up of • other
strings and integers. Normally I would do something like this
sprintf(txt,"Num=%d String=%s",number,text)

At the very least does any one know how to do covert an integer to a • string in
LegOS?



Message is in Reply To:
  Convert Integer to String
 
I am having an anoying problem. I want to format a string made up of other strings and integers. Normally I would do something like this sprintf(txt,"Num=%d String=%s",number,text) At the very least does any one know how to do covert an integer to a (...) (24 years ago, 12-Jun-00, to lugnet.robotics.rcx.legos)

2 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR