c++
Gert Cuykens
gert.cuykens at gmail.com
Sun Feb 20 07:41:31 GMT 2005
On Sun, 20 Feb 2005 00:17:31 +0100, Anthony Atkielski
<atkielski.anthony at wanadoo.fr> wrote:
> > A=*data
>
> The contents of the memory location pointed to by data is copied to A.
>
> > A=data
>
> The value of data is copied to A.
>
> > A=&data
>
> The address in memory of data is copied to A.
>
> --
> Anthony
>
So if data is declared as a gchar *data; for example, then the value
of data is a memory adress right ? So if A=data; and B=&data; then A
and B are exactly the same result right ?
Now why would anybody want a gchar when a integer is needed ? That is
just making it more complicated then it already is?
More information about the freebsd-questions
mailing list