Mail Archives: djgpp/1997/03/03/19:46:50
> > and now I want to copy the values from bbuf to tbuf. The following
> > should work shouldn't it?
> >
> > tbuf = bbuf;
>
> try *tbuf = *bbuf;
>
> this way you'll referencing the values stored at the memory locations
> instead of the memory location.
Actually, that's what I wanted to do :) It turns out I had it right,
except that I had to swap tbuf and bbuf pointers. It works now.
Jeff Weeks
--------------------------------------------
- Code X Software -
Programming to a Higher Power
email: mailto:pweeks AT execulink DOT com
web: http://www.execulink.com/~pweeks/
--------------------------------------------
- Raw text -