linking error with : reads c compiler from rigel

May 01, 2004 1 Replies

I included cSio51.h for folowing functions : - putc (puts a character on screen) - getc (gets a character from input) - PrtDec (prints an intiger in decimal on screen) - printf (print a string of characters on screen) When i call one of these functions and compile the file, i get an linking error



Is there a replacement function for scanf (or to read a string)


On 1 May 2004 09:51:43 -0700, jan snipped-for-privacy@yahoo.com (Jan Goormans) wrote: [snip...snip...]

Use fgets() followed by strtok() or by "manual" parsing. Either is more likely to behave better in the face of format errors than scanf(). Explicit parsing will likely also have a smaller code footprint.

Rich Webb Norfolk, VA

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required