Hal Murray wrote:
I'm out of practice with C, but shouldn't
viScanf(vi, "%t", buf);
be
viScanf(vi, "%t", &buf);
[I'm not a language wizard.]
It looks OK to me. Arrays are passed by pointer.
buf is the same as &buf[0]
The compiler should complain if it is wrong.
A quick google found examples without the &.
Indeed:
http://zone.ni.com/devzone/cda/tut/p/id/4727
Cheers,
Magnus
_______________________________________________
time-nuts mailing list -- [email protected]
To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts
and follow the instructions there.