void *a
George Kyriazis
kyriazis at rpics
Tue May 30 15:22:56 AEST 1989
OK. Here is the program..
struct a {
void *pt;
} foo;
main()
{
foo.pt = (void *) &foo;
}
The compiler complains that 'pt' is not defined, on ANY system I tried
it except the SUN. What's so special about suns and/or void * ???
Am I missing something?? By void * I mean some generic kind of pointer.
George Kyriazis
kyriazis at turing.cs.rpi.edu
kyriazis at rdrc.rpi.edu
------------------------------
More information about the Comp.unix.questions
mailing list