Thread overview
propery problem
Nov 06, 2003
Luna Kid
Nov 06, 2003
Nicolas Repiquet
Nov 06, 2003
Luna Kid
Nov 06, 2003
Luna Kid
Feb 12, 2004
Walter
November 06, 2003
class C
{
 int size;
}

void main(char[][] arg)
{
 C c;
 printf ("%d", c.size);
}

Compiles fine, but gives "Error: Access Violation".

Sz.


November 06, 2003
"Luna Kid" <lunakid@neuropolis.org> a écrit dans le message news: boejmc$1uil$1@digitaldaemon.com...
> class C
> {
>  int size;
> }
>
> void main(char[][] arg)
> {
>  C c;
   if( c === null ) {
       printf( "c is a reference, not an object" );
   } else {
>      printf ("%d", c.size);
   }
> }

Hope this helps =)

-- Nicolas Repiquet


November 06, 2003
Hehh, sorry!... :) I was slimming down a property
example, but I seem to have gutted it a little too
aggressively... ;)

[How to cancel a message from Outlook Express? What
is the control command for the server, Jan, please?]

Cheers,
Sz.

"Luna Kid" <lunakid@neuropolis.org> wrote in message news:boejmc$1uil$1@digitaldaemon.com...
> class C
> {
>  int size;
> }
>
> void main(char[][] arg)
> {
>  C c;
>  printf ("%d", c.size);
> }
>
> Compiles fine, but gives "Error: Access Violation".


November 06, 2003
Hehe... Yeps, you were *very* quick... ;)

Sz.

"Nicolas Repiquet" <deadcow-remove-this@free.fr> wrote in message news:boejsr$1v2d$1@digitaldaemon.com...
>
> "Luna Kid" <lunakid@neuropolis.org> a écrit dans le message news: boejmc$1uil$1@digitaldaemon.com...
> > class C
> > {
> >  int size;
> > }
> >
> > void main(char[][] arg)
> > {
> >  C c;
>    if( c === null ) {
>        printf( "c is a reference, not an object" );
>    } else {
> >      printf ("%d", c.size);
>    }
> > }
>
> Hope this helps =)
>
> -- Nicolas Repiquet


February 12, 2004
"Luna Kid" <lunakid@neuropolis.org> wrote in message news:boek1h$1v98$1@digitaldaemon.com...
> [How to cancel a message from Outlook Express? What
> is the control command for the server, Jan, please?]

Highlight the message, then click on the [Message] menu at the top. There's an option to cancel.