[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.c

Re: union

Zoran Cutura

7/1/2003 7:14:00 AM

dg <a@a.com> wrote:
>
> "those who know me have no need of my name" <not-a-real-address@usa.net>
> wrote in message news:m1brwghfop.gnus@usa.net...
>> snprintf(xfer, len+1, XFERFMT, x.one, x.two, x.bytes);
> good now i need to know how to put it back in a struct.

The obvious counterpart to sprintf/snprintf is sscanf, but strtol with
strpbrk might fix your needs too.

--
Z (Zoran.Cutura@daimlerchrysler.com)
"LISP is worth learning for the profound enlightenment experience
you will have when you finally get it; that experience will make you
a better programmer for the rest of your days." -- Eric S. Raymond