Unresolfved token - sprintf

  • Thread starter Thread starter Nelson Hsu
  • Start date Start date
N

Nelson Hsu

I keep getting an unresolved token error during linking on sprintf.
I've included <stdio.h> but the problem is still there.
 
Nelson said:
I keep getting an unresolved token error during linking on sprintf.
I've included <stdio.h> but the problem is still there.

you're confused a bit. <stdio.h> only includes prototypes to make the
compiler happy. It has nothing to do with linking! Can you be more
precise?

/steveA
 
Steve Alpert said:
you're confused a bit. <stdio.h> only includes prototypes to make the
compiler happy. It has nothing to do with linking! Can you be more
precise?

/steveA

Oops, never mind. It turns out that I had to link in msvcrt.lib. The
only error now is unresolved token for fcloseall. Strange, I thought
that would be in msvcrt.
 
Back
Top