Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!uunet!esseye!jdbbs!muondev!gosciak From: gosciak@muondev.uucp (Doug Gosciak) Newsgroups: comp.lang.c Subject: Re: What the hell does this mean?? Message-ID: <1991Mar9.185850.2413@muondev.uucp> Date: 9 Mar 91 18:58:50 GMT References: <6117@mahendo.Jpl.Nasa.Gov> Organization: Micro Unlimited Lines: 32 In <6117@mahendo.Jpl.Nasa.Gov> robert@nereid.jpl.nasa.gov (Robert Angelino) writes: >Hello fellow C programmers, > I have a small problem: > I keep getting this error > "spa_tclkutc.c", line 130: unacceptable operand of & > > on this line > (void) sscanf(ptr,"%04d",&(primary.utc.dy)); > Does anyone know what this means, I'm at my frustration limit.. >Thanks in advance. >-- > - ------ - Robert Angelino > | | | ---- \ | | ms T-1704L > | | | | \ | | | 4800 Oak Grove Drive > | | | | -- | | | Pasadena, CA 91109 >---| | | | \__/ | |___ robert@triton.jpl.nasa.gov >\____|et |_|ropulsion |_____\aboratory (818) 354-9574 Is it possible that primary.utc.dy is the name of an array and therefore the correct systax would be more like &(primary.utc.dy[0]) ? -- ------------------------------------------------------------------------------ Snail: Doug R. Gosciak Quote: Become the one Net: gosciak@muondev.uucp 3321 Wyoming SW you dream you GEnie: DGOSCIAK Wyoming, MI 49509 can be. CI$: 72115,703