Skip to Content.
Sympa Menu

freetds - Re: Timestamp fields.

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Brian Bruns <camber AT ais.org>
  • To: TDS Development Group <freetds AT franklin.oit.unc.edu>
  • Subject: Re: Timestamp fields.
  • Date: Wed, 28 Feb 2001 21:30:07 -0500 (EST)



Nope, just incrementing the index of the array. d is an integer, not a
pointer. Incrementing the pointer would be more like:

char *d = dest;

*d = '0'; d++;
*d = 'x'; d++;

Brian

On Wed, 28 Feb 2001, Tim Uckun wrote:

>
> > dest[d++]='0';
> > dest[d++]='x';
>
> OK I haven't touched C since my collage days (long, long ago) but are you
> incrementing a pointer here?
>






Archive powered by MHonArc 2.6.24.

Top of Page