TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: William McBrine
from: Jasen Betts
date: 2002-12-30 00:13:50
subject: Re: There`s gotta be an easi

Hi William.

28-Dec-02 12:27:53, William McBrine wrote to Jasen Betts


  -=> Jasen Betts wrote to Neil Heller <=-

 JB>> couldn't find "cstring" so I'm guessing you're just using C
 JB>> strings (type char*)

 WM> Yes, I almost wrote a reply similar to yours, but I was too unsure
 WM> about the meaning of "cstring". itoa() isn't standard, either
 WM> (though atoi() is).

Yeah that's why I used sprintf in my second reply.

 WM> Anyway, the big question for me is, why store these numbers as
 WM> ASCII at all? Why not store them as ints (or floats, if
 WM> necessary), and only convert once on input and once on output?
 WM> That would seem more efficient.

I can also see no reeason why that couldn't be done in most cases.

 -=> Bye <=-

---
* Origin: As King Arthur said: Some days it all seems so feudal. (3:640/1042)
SEEN-BY: 633/267 270
@PATH: 640/1042 531 954 774/605 123/500 106/1 379/1 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.