Mail Archives: djgpp/1992/09/23/14:44:12
sorry gang,
it seems that no matter how long you program, stupid errors can
still bite you.
in the subroutine i declared:
char ch;
and later did:
sprintf(&ch, "%d", var);
where <var> is an integer from 0-2. this was not good. What I
needed was something like:
char ch[10];
*
*
*
sprintf(ch, "%d", var);
silly me.
sorry again,
mark
=====================================================================
Mark L. Littlefield Intelligent Systems Department
internet: mll AT aio DOT jsc DOT nasa DOT gov
USsnail: Lockheed Engineering and Sciences
2400 Nasa Rd 1 / MC C-19
Houston, TX 77058-3711
====================================================================
- Raw text -