What the hell does this mean??

Doug Gosciak gosciak at muondev.uucp
Sun Mar 10 04:58:50 AEST 1991


In <6117 at mahendo.Jpl.Nasa.Gov> robert at 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 at 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 at muondev.uucp
       3321 Wyoming SW            you dream you     GEnie: DGOSCIAK
       Wyoming, MI 49509          can be.           CI$: 72115,703



More information about the Comp.lang.c mailing list